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.001143/0.001143, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.00115/0.00115, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.251/1.251, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.08455/0.08455, allocations: 8.117 MB / 278.7 MB, free: 3.934 MB / 222.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.00163/0.00163, allocations: 69.3 kB / 387.3 MB, free: 47.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06243/0.06407, allocations: 48.33 MB / 435.6 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001239/0.06534, allocations: 381.3 kB / 436 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001326/0.06549, allocations: 19.91 kB / 436 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.528e-05/0.06553, allocations: 0 / 436 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.005e-05/0.06555, allocations: 4 kB / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.06556, allocations: 0 / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001164/0.06568, allocations: 0 / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.053e-05/0.06572, allocations: 4 kB / 436 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.06577, allocations: 0 / 436 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.115e-05/0.06579, allocations: 0 / 436 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.06583, allocations: 11.97 kB / 436.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.06585, allocations: 0 / 436.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.771e-06/0.06586, allocations: 0 / 436.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.06587, allocations: 0 / 436.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.0659, allocations: 0 / 436.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.58e-05/0.06595, allocations: 8 kB / 436.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.06596, allocations: 0 / 436.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.06596, allocations: 3.938 kB / 436.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.06598, allocations: 4 kB / 436.1 MB, free: 8.168 MB / 318.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.0002202/0.0662, allocations: 307.6 kB / 436.4 MB, free: 7.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.06625, allocations: 16 kB / 436.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.06628, allocations: 4.922 kB / 436.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.711e-05/0.06634, allocations: 164.4 kB / 436.5 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.06635, allocations: 384 / 436.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.06637, allocations: 4.375 kB / 436.6 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.966e-05/0.06645, allocations: 34.2 kB / 436.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.06646, allocations: 192 / 436.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.06647, allocations: 3.938 kB / 436.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.06648, allocations: 0 / 436.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.0665, allocations: 4 kB / 436.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.06672, allocations: 153.7 kB / 436.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.846e-05/0.06676, allocations: 14.58 kB / 436.8 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.06678, allocations: 8.859 kB / 436.8 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.0668, allocations: 8.031 kB / 436.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.097e-05/0.06681, allocations: 34.56 kB / 436.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.06682, allocations: 0 / 436.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001096/0.06693, allocations: 37.62 kB / 436.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.54e-05/0.06695, allocations: 51.41 kB / 436.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.913e-05/0.06698, allocations: 89.86 kB / 437 MB, free: 7.059 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.06699, allocations: 29.83 kB / 437 MB, free: 7.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.097e-05/0.06701, allocations: 84.14 kB / 437.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.06703, allocations: 4 kB / 437.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.06706, allocations: 9.719 kB / 437.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.798e-05/0.0671, allocations: 310.8 kB / 437.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.06712, allocations: 7.984 kB / 437.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-06/0.06713, allocations: 3.938 kB / 437.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.711e-05/0.06716, allocations: 16.92 kB / 437.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.06717, allocations: 0 / 437.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.795e-05/0.06722, allocations: 41.61 kB / 437.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.06724, allocations: 8 kB / 437.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.06725, allocations: 0 / 437.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.06726, allocations: 3.938 kB / 437.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.94e-05/0.0673, allocations: 4 kB / 437.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.06731, allocations: 11.92 kB / 437.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.06733, allocations: 0 / 437.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.06734, allocations: 0 / 437.5 MB, free: 6.5 MB / 318.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 3.765e-05/0.06738, allocations: 121.7 kB / 437.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.0674, allocations: 0 / 437.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.06741, allocations: 11.08 kB / 437.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.06742, allocations: 3.938 kB / 437.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.06743, allocations: 0 / 437.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.06744, allocations: 77.11 kB / 437.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-06/0.06746, allocations: 3.938 kB / 437.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.211e-05/0.06747, allocations: 0 / 437.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.06749, allocations: 3.984 kB / 437.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.692e-05/0.06759, allocations: 117 kB / 437.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.889e-05/0.06769, allocations: 214.7 kB / 438 MB, free: 5.91 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.409e-05/0.06771, allocations: 4.031 kB / 438.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.072e-05/0.06773, allocations: 75.28 kB / 438.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of Backend: time 3.51e-07/0.06773, allocations: 0 / 438.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.06803, allocations: 82.52 kB / 438.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of SimCode: time 0.0002154/0.06825, allocations: 0.5454 MB / 438.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of Templates: time 0.001835/0.07009, allocations: 228.8 kB / 439 MB, free: 4.926 MB / 318.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)