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.001563/0.001571, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00137/0.00137, allocations: 192.3 kB / 16.25 MB, free: 6.629 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.482/1.482, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.09995/0.09995, allocations: 8.125 MB / 277.6 MB, free: 13.3 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.001427/0.001427, allocations: 59.91 kB / 336.7 MB, free: 26.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09216/0.0936, allocations: 48.3 MB / 385 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001637/0.0953, allocations: 455.9 kB / 385.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001564/0.09547, allocations: 15.95 kB / 385.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.09549, allocations: 0 / 385.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.09553, allocations: 0 / 385.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.121e-06/0.09554, allocations: 0 / 385.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.09568, allocations: 12 kB / 385.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.689e-05/0.09574, allocations: 0 / 385.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.604e-05/0.0958, allocations: 3.938 kB / 385.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.09583, allocations: 4 kB / 385.5 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.043e-05/0.09588, allocations: 7.984 kB / 385.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.0959, allocations: 0 / 385.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.09591, allocations: 0 / 385.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.09593, allocations: 0 / 385.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.09596, allocations: 3.938 kB / 385.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.405e-05/0.09601, allocations: 0 / 385.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.09602, allocations: 0 / 385.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.129e-06/0.09603, allocations: 7.984 kB / 385.5 MB, free: 10.01 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.09604, allocations: 0 / 385.5 MB, free: 10.01 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.0003934/0.09644, allocations: 309.2 kB / 385.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.0965, allocations: 16.06 kB / 385.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.09655, allocations: 0.9375 kB / 385.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.09667, allocations: 160.4 kB / 386 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.09669, allocations: 4.359 kB / 386 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.09673, allocations: 384 / 386 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.09685, allocations: 30.27 kB / 386 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.09686, allocations: 192 / 386 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.09688, allocations: 3.938 kB / 386 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.09689, allocations: 0 / 386 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.09692, allocations: 7.938 kB / 386 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.09723, allocations: 157.7 kB / 386.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.09729, allocations: 14.58 kB / 386.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.09732, allocations: 8.953 kB / 386.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.09734, allocations: 3.938 kB / 386.2 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.09737, allocations: 30.56 kB / 386.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.09737, allocations: 0 / 386.2 MB, free: 9.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001398/0.09752, allocations: 45.58 kB / 386.3 MB, free: 9.066 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.09757, allocations: 55.39 kB / 386.3 MB, free: 9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.545e-05/0.09762, allocations: 93.86 kB / 386.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.09764, allocations: 25.7 kB / 386.4 MB, free: 8.867 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.929e-05/0.09767, allocations: 80.14 kB / 386.5 MB, free: 8.785 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.0977, allocations: 3.906 kB / 386.5 MB, free: 8.781 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.09774, allocations: 17.72 kB / 386.5 MB, free: 8.758 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.09787, allocations: 314.8 kB / 386.8 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.09788, allocations: 4.125 kB / 386.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.694e-06/0.0979, allocations: 4 kB / 386.8 MB, free: 8.434 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.213e-05/0.09793, allocations: 12.86 kB / 386.9 MB, free: 8.418 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.09794, allocations: 0 / 386.9 MB, free: 8.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.72e-05/0.098, allocations: 45.62 kB / 386.9 MB, free: 8.367 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.09802, allocations: 6.188 kB / 386.9 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.09803, allocations: 0 / 386.9 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.09805, allocations: 3.938 kB / 386.9 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.953e-05/0.09809, allocations: 8.094 kB / 386.9 MB, free: 8.352 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.0981, allocations: 0 / 386.9 MB, free: 8.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.09812, allocations: 4 kB / 386.9 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.09813, allocations: 0 / 386.9 MB, free: 8.348 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 8.356e-05/0.09822, allocations: 109.8 kB / 387 MB, free: 8.23 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-06/0.09823, allocations: 3.984 kB / 387 MB, free: 8.227 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.09826, allocations: 7.062 kB / 387 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.09827, allocations: 0 / 387 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.09828, allocations: 0 / 387 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.09828, allocations: 4 kB / 387 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.09842, allocations: 149.7 kB / 387.2 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.09843, allocations: 0 / 387.2 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.09846, allocations: 4 kB / 387.2 MB, free: 8.012 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.09847, allocations: 3.984 kB / 387.2 MB, free: 8.008 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.09848, allocations: 3.938 kB / 387.2 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.09849, allocations: 0 / 387.2 MB, free: 8.004 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.0985, allocations: 3.938 kB / 387.2 MB, free: 8 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.415e-05/0.09859, allocations: 65.12 kB / 387.3 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.09864, allocations: 81.14 kB / 387.3 MB, free: 7.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.09865, allocations: 3.938 kB / 387.4 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.09867, allocations: 0 / 387.4 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.09868, allocations: 0 / 387.4 MB, free: 7.816 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.09869, allocations: 4 kB / 387.4 MB, free: 7.812 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.228e-05/0.09873, allocations: 79.22 kB / 387.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09873, allocations: 0 / 387.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001708/0.09891, allocations: 4 kB / 387.4 MB, free: 7.73 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.072e-05/0.09899, allocations: 95.34 kB / 387.5 MB, free: 7.629 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.837e-05/0.09908, allocations: 19.86 kB / 387.6 MB, free: 7.609 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.09908, allocations: 0 / 387.6 MB, free: 7.609 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/0.09909, allocations: 0 / 387.6 MB, free: 7.609 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.09922, allocations: 4 kB / 387.6 MB, free: 7.605 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.09949, allocations: 101.8 kB / 387.7 MB, free: 7.48 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.09974, allocations: 0.6768 MB / 388.3 MB, free: 6.777 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.603e-05/0.09976, allocations: 4 kB / 388.3 MB, free: 6.773 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.09978, allocations: 7.438 kB / 388.3 MB, free: 6.766 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09979, allocations: 0 / 388.3 MB, free: 6.766 MB / 286.1 MB Notification: Performance of Templates: time 0.00178/0.1016, allocations: 212.6 kB / 388.5 MB, free: 6.562 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)