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.001073/0.001073, allocations: 107.7 kB / 15.99 MB, free: 6.352 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.00103/0.00103, allocations: 185.2 kB / 16.9 MB, free: 6.188 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.325/1.325, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1209/0.1209, allocations: 8.108 MB / 278.2 MB, free: 13.32 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.001282/0.001283, allocations: 67.91 kB / 337.3 MB, free: 26.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08175/0.08304, allocations: 48.3 MB / 385.6 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001434/0.08451, allocations: 455.9 kB / 386.1 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001289/0.08466, allocations: 11.97 kB / 386.1 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.128e-05/0.08468, allocations: 3.938 kB / 386.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.08471, allocations: 4 kB / 386.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.28e-06/0.08472, allocations: 0 / 386.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.08485, allocations: 4 kB / 386.1 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.358e-05/0.0849, allocations: 7.984 kB / 386.1 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.245e-05/0.08496, allocations: 5.656 kB / 386.1 MB, free: 10 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.611e-05/0.08498, allocations: 0 / 386.1 MB, free: 10 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.08502, allocations: 0 / 386.1 MB, free: 10 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.08503, allocations: 0 / 386.1 MB, free: 10 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-06/0.08505, allocations: 4 kB / 386.1 MB, free: 10 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.08507, allocations: 7.922 kB / 386.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.08509, allocations: 0 / 386.1 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.163e-05/0.08512, allocations: 4 kB / 386.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.08513, allocations: 0 / 386.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.08514, allocations: 0 / 386.1 MB, free: 9.988 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.08515, allocations: 0 / 386.1 MB, free: 9.988 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.000268/0.08542, allocations: 311.6 kB / 386.4 MB, free: 9.633 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.08546, allocations: 11.97 kB / 386.5 MB, free: 9.621 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.08549, allocations: 4.938 kB / 386.5 MB, free: 9.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.08557, allocations: 164.4 kB / 386.6 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.08558, allocations: 384 / 386.6 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.08561, allocations: 8.359 kB / 386.6 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.226e-05/0.08569, allocations: 34.25 kB / 386.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.0857, allocations: 192 / 386.7 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-06/0.08571, allocations: 3.938 kB / 386.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.08572, allocations: 0 / 386.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.411e-05/0.08574, allocations: 0 / 386.7 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.08597, allocations: 149.7 kB / 386.8 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.526e-05/0.08602, allocations: 22.55 kB / 386.8 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.08604, allocations: 12.84 kB / 386.8 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.274e-06/0.08605, allocations: 0 / 386.8 MB, free: 9.125 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.08608, allocations: 34.62 kB / 386.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.08608, allocations: 0 / 386.9 MB, free: 9.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 9.979e-05/0.08619, allocations: 37.64 kB / 386.9 MB, free: 9.039 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.08623, allocations: 55.34 kB / 387 MB, free: 8.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.036e-05/0.08626, allocations: 89.86 kB / 387.1 MB, free: 8.875 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.08628, allocations: 25.83 kB / 387.1 MB, free: 8.844 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.743e-05/0.08631, allocations: 84.14 kB / 387.2 MB, free: 8.758 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.08634, allocations: 11.89 kB / 387.2 MB, free: 8.746 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.08637, allocations: 9.719 kB / 387.2 MB, free: 8.73 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.08646, allocations: 314.8 kB / 387.5 MB, free: 8.414 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-06/0.08648, allocations: 7.938 kB / 387.5 MB, free: 8.406 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.0865, allocations: 3.938 kB / 387.5 MB, free: 8.402 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.857e-05/0.08653, allocations: 12.92 kB / 387.5 MB, free: 8.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.08654, allocations: 4 kB / 387.5 MB, free: 8.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.888e-05/0.08659, allocations: 37.69 kB / 387.6 MB, free: 8.34 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.08662, allocations: 10.19 kB / 387.6 MB, free: 8.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.08663, allocations: 3.938 kB / 387.6 MB, free: 8.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.08664, allocations: 7.938 kB / 387.6 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-05/0.08667, allocations: 0 / 387.6 MB, free: 8.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.08668, allocations: 4 kB / 387.6 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.016e-05/0.08669, allocations: 0 / 387.6 MB, free: 8.316 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.0867, allocations: 0 / 387.6 MB, free: 8.316 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.103e-05/0.08677, allocations: 113.9 kB / 387.7 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-06/0.08678, allocations: 0 / 387.7 MB, free: 8.195 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.647e-05/0.0868, allocations: 7.062 kB / 387.7 MB, free: 8.184 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.08681, allocations: 4 kB / 387.7 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.08681, allocations: 0 / 387.7 MB, free: 8.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.08682, allocations: 3.984 kB / 387.7 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.08694, allocations: 145.7 kB / 387.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.08695, allocations: 0 / 387.8 MB, free: 7.984 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.08697, allocations: 4 kB / 387.9 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.08698, allocations: 0 / 387.9 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.087, allocations: 11.92 kB / 387.9 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.087, allocations: 0 / 387.9 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.08701, allocations: 0 / 387.9 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.214e-05/0.08709, allocations: 61.08 kB / 387.9 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.08713, allocations: 77.11 kB / 388 MB, free: 7.797 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.08715, allocations: 7.922 kB / 388 MB, free: 7.789 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.168e-05/0.08716, allocations: 4.031 kB / 388 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-06/0.08718, allocations: 4.094 kB / 388 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.08718, allocations: 0 / 388 MB, free: 7.781 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.138e-05/0.08721, allocations: 75.28 kB / 388.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08721, allocations: 0 / 388.1 MB, free: 7.707 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001659/0.08738, allocations: 0 / 388.1 MB, free: 7.707 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 6.376e-05/0.08745, allocations: 95.25 kB / 388.2 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.902e-05/0.08753, allocations: 8 kB / 388.2 MB, free: 7.598 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.08753, allocations: 3.938 kB / 388.2 MB, free: 7.594 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.496e-06/0.08755, allocations: 12 kB / 388.2 MB, free: 7.582 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.08768, allocations: 0 / 388.2 MB, free: 7.582 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002212/0.08791, allocations: 131.5 kB / 388.3 MB, free: 7.422 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.08811, allocations: 0.6766 MB / 389 MB, free: 6.719 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.08813, allocations: 7.438 kB / 389 MB, free: 6.711 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.08814, allocations: 3.938 kB / 389 MB, free: 6.707 MB / 286.1 MB Notification: Performance of Templates: time 0.001454/0.0896, allocations: 391.4 kB / 389.4 MB, free: 6.328 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)