Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001094/0.001094, allocations: 186.3 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.23/1.23, allocations: 194.2 MB / 210.9 MB, free: 2.363 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1137/0.1137, allocations: 8.111 MB / 263.3 MB, free: 12.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002053/0.002053, allocations: 132.1 kB / 309.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.91 kB / 365.4 MB, free: 6.324 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2125, allocations: 45.26 MB / 410.7 MB, free: 66.83 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001539/0.214, allocations: 457.3 kB / 411.1 MB, free: 66.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001472/0.2142, allocations: 15.91 kB / 411.1 MB, free: 66.36 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.341e-05/0.2142, allocations: 0 / 411.1 MB, free: 66.36 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.2143, allocations: 0 / 411.1 MB, free: 66.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.2143, allocations: 0 / 411.1 MB, free: 66.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.2144, allocations: 4 kB / 411.1 MB, free: 66.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.095e-05/0.2145, allocations: 4 kB / 411.1 MB, free: 66.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.847e-05/0.2146, allocations: 7.391 kB / 411.1 MB, free: 66.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.606e-05/0.2146, allocations: 4 kB / 411.1 MB, free: 66.35 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.2146, allocations: 4 kB / 411.1 MB, free: 66.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2147, allocations: 0 / 411.1 MB, free: 66.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.237e-06/0.2147, allocations: 0 / 411.1 MB, free: 66.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.2147, allocations: 0 / 411.1 MB, free: 66.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.2147, allocations: 0 / 411.1 MB, free: 66.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 4.97e-05/0.2148, allocations: 11.92 kB / 411.2 MB, free: 66.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2148, allocations: 0 / 411.2 MB, free: 66.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2148, allocations: 0 / 411.2 MB, free: 66.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.2148, allocations: 0 / 411.2 MB, free: 66.33 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002778/0.2151, allocations: 311.6 kB / 411.5 MB, free: 65.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.2151, allocations: 12.03 kB / 411.5 MB, free: 65.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.2152, allocations: 4.938 kB / 411.5 MB, free: 65.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.091e-05/0.2153, allocations: 160.4 kB / 411.6 MB, free: 65.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.2153, allocations: 384 / 411.6 MB, free: 65.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2153, allocations: 8.312 kB / 411.6 MB, free: 65.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.868e-05/0.2154, allocations: 26.27 kB / 411.7 MB, free: 65.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2154, allocations: 192 / 411.7 MB, free: 65.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.2154, allocations: 3.938 kB / 411.7 MB, free: 65.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2154, allocations: 0 / 411.7 MB, free: 65.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.2154, allocations: 7.984 kB / 411.7 MB, free: 65.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.2157, allocations: 153.7 kB / 411.8 MB, free: 65.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/0.2157, allocations: 14.58 kB / 411.8 MB, free: 65.49 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.2158, allocations: 12.89 kB / 411.9 MB, free: 65.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.2158, allocations: 0 / 411.9 MB, free: 65.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.2158, allocations: 38.48 kB / 411.9 MB, free: 65.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.2158, allocations: 0 / 411.9 MB, free: 65.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.2159, allocations: 41.64 kB / 411.9 MB, free: 65.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.216, allocations: 55.41 kB / 412 MB, free: 65.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.839e-05/0.216, allocations: 89.86 kB / 412.1 MB, free: 65.22 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.216, allocations: 25.7 kB / 412.1 MB, free: 65.19 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.676e-05/0.216, allocations: 80.14 kB / 412.2 MB, free: 65.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.2161, allocations: 3.906 kB / 412.2 MB, free: 65.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.2161, allocations: 21.7 kB / 412.2 MB, free: 65.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.2162, allocations: 311 kB / 412.5 MB, free: 64.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.2162, allocations: 7.938 kB / 412.5 MB, free: 64.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-06/0.2162, allocations: 4 kB / 412.5 MB, free: 64.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.013e-05/0.2162, allocations: 12.86 kB / 412.5 MB, free: 64.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2162, allocations: 0 / 412.5 MB, free: 64.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.809e-05/0.2163, allocations: 33.7 kB / 412.6 MB, free: 64.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.2163, allocations: 4 kB / 412.6 MB, free: 64.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2163, allocations: 3.984 kB / 412.6 MB, free: 64.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.2163, allocations: 7.875 kB / 412.6 MB, free: 64.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.958e-05/0.2164, allocations: 8.094 kB / 412.6 MB, free: 64.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.2164, allocations: 0 / 412.6 MB, free: 64.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.248e-05/0.2164, allocations: 0 / 412.6 MB, free: 64.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.2164, allocations: 3.938 kB / 412.6 MB, free: 64.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.2165, allocations: 113.8 kB / 412.7 MB, free: 64.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.2165, allocations: 3.984 kB / 412.7 MB, free: 64.54 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.2165, allocations: 7.062 kB / 412.7 MB, free: 64.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2165, allocations: 0 / 412.7 MB, free: 64.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2165, allocations: 0 / 412.7 MB, free: 64.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2165, allocations: 4 kB / 412.7 MB, free: 64.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.2166, allocations: 149.7 kB / 412.9 MB, free: 64.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2166, allocations: 4 kB / 412.9 MB, free: 64.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.2167, allocations: 0 / 412.9 MB, free: 64.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.2167, allocations: 0 / 412.9 MB, free: 64.33 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2167, allocations: 7.938 kB / 412.9 MB, free: 64.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2167, allocations: 0 / 412.9 MB, free: 64.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2167, allocations: 0 / 412.9 MB, free: 64.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.2173, allocations: 0.8466 MB / 413.7 MB, free: 63.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.2174, allocations: 89.03 kB / 413.8 MB, free: 63.23 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.2174, allocations: 0 / 413.8 MB, free: 63.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.816e-05/0.2174, allocations: 0 / 413.8 MB, free: 63.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.2175, allocations: 160 / 413.8 MB, free: 63.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.2175, allocations: 4 kB / 413.8 MB, free: 63.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.867e-05/0.2175, allocations: 75.28 kB / 413.9 MB, free: 63.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2175, allocations: 3.938 kB / 413.9 MB, free: 63.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.2177, allocations: 4 kB / 413.9 MB, free: 63.15 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.447e-05/0.2178, allocations: 95.25 kB / 414 MB, free: 63.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.509e-05/0.2179, allocations: 7.938 kB / 414 MB, free: 63.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.2179, allocations: 0 / 414 MB, free: 63.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.575e-06/0.2179, allocations: 8.047 kB / 414 MB, free: 63.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.2181, allocations: 11.03 kB / 414 MB, free: 63.02 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.2183, allocations: 202.2 kB / 414.2 MB, free: 62.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2185, allocations: 0.6692 MB / 414.9 MB, free: 62.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.592e-05/0.2185, allocations: 0 / 414.9 MB, free: 62.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.521e-05/0.2185, allocations: 7.438 kB / 414.9 MB, free: 62.08 MB / 314.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2185, allocations: 4 kB / 414.9 MB, free: 62.08 MB / 314.7 MB Notification: Performance of Templates: time 0.001783/0.2203, allocations: 218.7 kB / 415.1 MB, free: 61.87 MB / 314.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & ./ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1)