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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009896, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 192.7 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.236/1.236, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1036/0.1036, allocations: 8.108 MB / 277.4 MB, free: 13.38 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.92 kB / 336.5 MB, free: 26.97 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08281, allocations: 48.3 MB / 384.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001493/0.08433, allocations: 448 kB / 385.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001392/0.08448, allocations: 19.91 kB / 385.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.285e-05/0.0845, allocations: 0 / 385.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.767e-05/0.08453, allocations: 0 / 385.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.08454, allocations: 0 / 385.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001281/0.08467, allocations: 4 kB / 385.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.856e-05/0.08473, allocations: 7.984 kB / 385.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.08478, allocations: 0 / 385.3 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.846e-05/0.08481, allocations: 7.938 kB / 385.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.08486, allocations: 7.984 kB / 385.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.08487, allocations: 0 / 385.3 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.08489, allocations: 3.938 kB / 385.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.08491, allocations: 0 / 385.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.11e-05/0.08493, allocations: 0 / 385.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.248e-05/0.08498, allocations: 0 / 385.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.08499, allocations: 0 / 385.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.08499, allocations: 0 / 385.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.085, allocations: 0 / 385.3 MB, free: 10.13 MB / 286.1 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.0003187/0.08533, allocations: 321.2 kB / 385.6 MB, free: 9.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.08538, allocations: 12.09 kB / 385.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.08541, allocations: 0.9375 kB / 385.6 MB, free: 9.758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.89e-05/0.0855, allocations: 160.4 kB / 385.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.08552, allocations: 384 / 385.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.08555, allocations: 4.312 kB / 385.8 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.823e-05/0.08563, allocations: 30.27 kB / 385.8 MB, free: 9.523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.08565, allocations: 4.172 kB / 385.8 MB, free: 9.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.08566, allocations: 3.938 kB / 385.8 MB, free: 9.516 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.08567, allocations: 4 kB / 385.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.544e-05/0.08569, allocations: 0 / 385.8 MB, free: 9.512 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.08593, allocations: 153.7 kB / 386 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.026e-05/0.08598, allocations: 18.56 kB / 386 MB, free: 9.285 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.08601, allocations: 12.78 kB / 386 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.08603, allocations: 4.094 kB / 386 MB, free: 9.266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.08605, allocations: 38.5 kB / 386 MB, free: 9.219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.08606, allocations: 4 kB / 386 MB, free: 9.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.08619, allocations: 33.64 kB / 386.1 MB, free: 9.176 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.08624, allocations: 51.41 kB / 386.1 MB, free: 9.113 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.118e-05/0.0863, allocations: 89.86 kB / 386.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.08633, allocations: 25.7 kB / 386.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.08637, allocations: 84.14 kB / 386.3 MB, free: 8.898 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.0864, allocations: 11.89 kB / 386.3 MB, free: 8.887 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.08645, allocations: 9.719 kB / 386.3 MB, free: 8.871 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.08658, allocations: 319 kB / 386.6 MB, free: 8.551 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.08661, allocations: 3.938 kB / 386.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-06/0.08662, allocations: 0 / 386.7 MB, free: 8.547 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.972e-05/0.08665, allocations: 12.86 kB / 386.7 MB, free: 8.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.08666, allocations: 4 kB / 386.7 MB, free: 8.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.197e-05/0.08672, allocations: 37.69 kB / 386.7 MB, free: 8.484 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.08674, allocations: 10.5 kB / 386.7 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.08675, allocations: 96 / 386.7 MB, free: 8.477 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.08676, allocations: 7.938 kB / 386.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.485e-05/0.08679, allocations: 4 kB / 386.7 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.0868, allocations: 0 / 386.7 MB, free: 8.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.08682, allocations: 7.938 kB / 386.7 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.08684, allocations: 3.938 kB / 386.7 MB, free: 8.453 MB / 286.1 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 6.094e-05/0.0869, allocations: 105.8 kB / 386.8 MB, free: 8.34 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.08691, allocations: 4 kB / 386.8 MB, free: 8.336 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.08694, allocations: 7.062 kB / 386.9 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.08694, allocations: 0 / 386.9 MB, free: 8.324 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.08695, allocations: 4 kB / 386.9 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.08696, allocations: 3.984 kB / 386.9 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.08709, allocations: 145.7 kB / 387 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0871, allocations: 0 / 387 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.08713, allocations: 4 kB / 387 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.08714, allocations: 0 / 387 MB, free: 8.121 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.08715, allocations: 7.938 kB / 387 MB, free: 8.113 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.08716, allocations: 3.984 kB / 387 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.08717, allocations: 0 / 387 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.032e-05/0.08726, allocations: 57.14 kB / 387.1 MB, free: 8.035 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.0873, allocations: 81.05 kB / 387.2 MB, free: 7.938 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.08733, allocations: 11.95 kB / 387.2 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.26e-05/0.08734, allocations: 7.938 kB / 387.2 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.08736, allocations: 0 / 387.2 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.08736, allocations: 0 / 387.2 MB, free: 7.918 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.0874, allocations: 75.28 kB / 387.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0874, allocations: 0 / 387.2 MB, free: 7.844 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001637/0.08757, allocations: 4.094 kB / 387.3 MB, free: 7.84 MB / 286.1 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 8.272e-05/0.08766, allocations: 95.25 kB / 387.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.054e-05/0.08772, allocations: 4 kB / 387.3 MB, free: 7.734 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.08773, allocations: 4 kB / 387.4 MB, free: 7.73 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.65e-06/0.08774, allocations: 0 / 387.4 MB, free: 7.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.08789, allocations: 7.734 kB / 387.4 MB, free: 7.727 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.08815, allocations: 111.6 kB / 387.5 MB, free: 7.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.0884, allocations: 0.677 MB / 388.1 MB, free: 6.887 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.08843, allocations: 4 kB / 388.1 MB, free: 6.883 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.08845, allocations: 7.438 kB / 388.2 MB, free: 6.875 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.08846, allocations: 0 / 388.2 MB, free: 6.875 MB / 286.1 MB Notification: Performance of Templates: time 0.001647/0.09011, allocations: 196.8 kB / 388.3 MB, free: 6.684 MB / 286.1 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)