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.001621/0.001621, allocations: 118 kB / 16.42 MB, free: 6.48 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.001884/0.001884, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.304/1.304, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.1091/0.1091, allocations: 8.11 MB / 278.7 MB, free: 3.953 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.001602/0.001602, allocations: 69.5 kB / 387.3 MB, free: 47.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06383/0.06544, allocations: 48.32 MB / 435.6 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001358/0.06683, allocations: 389.2 kB / 436 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.06699, allocations: 23.95 kB / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.516e-05/0.06703, allocations: 0 / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.06705, allocations: 4 kB / 436 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.06706, allocations: 0 / 436 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.06718, allocations: 0 / 436 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.06723, allocations: 4 kB / 436 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.06728, allocations: 0 / 436 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.345e-05/0.0673, allocations: 3.984 kB / 436 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.003e-05/0.06734, allocations: 7.938 kB / 436.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.06736, allocations: 0 / 436.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.011e-06/0.06737, allocations: 0 / 436.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.06739, allocations: 0 / 436.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.06741, allocations: 0 / 436.1 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 4.744e-05/0.06747, allocations: 4 kB / 436.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.06748, allocations: 3.938 kB / 436.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.06748, allocations: 0 / 436.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.06749, allocations: 0 / 436.1 MB, free: 8.172 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.0002163/0.06771, allocations: 315.5 kB / 436.4 MB, free: 7.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.06776, allocations: 12.06 kB / 436.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.06779, allocations: 0.9375 kB / 436.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.176e-05/0.06784, allocations: 160.4 kB / 436.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.06785, allocations: 384 / 436.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.06788, allocations: 8.312 kB / 436.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.149e-05/0.06796, allocations: 34.25 kB / 436.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.06797, allocations: 192 / 436.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.06798, allocations: 3.938 kB / 436.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.06799, allocations: 0 / 436.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.725e-05/0.06801, allocations: 11.92 kB / 436.6 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.06821, allocations: 153.7 kB / 436.8 MB, free: 7.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.697e-05/0.06824, allocations: 14.58 kB / 436.8 MB, free: 7.32 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.295e-05/0.06826, allocations: 12.86 kB / 436.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.06828, allocations: 0 / 436.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.0683, allocations: 34.62 kB / 436.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.0683, allocations: 0 / 436.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001015/0.06841, allocations: 37.58 kB / 436.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.3e-05/0.06843, allocations: 51.41 kB / 436.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.599e-05/0.06845, allocations: 93.84 kB / 437 MB, free: 7.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.06846, allocations: 29.83 kB / 437 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.239e-05/0.06848, allocations: 80.14 kB / 437.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.0685, allocations: 11.95 kB / 437.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.06853, allocations: 9.719 kB / 437.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.261e-05/0.06857, allocations: 310.8 kB / 437.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.125e-05/0.06859, allocations: 4 kB / 437.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.302e-06/0.0686, allocations: 0 / 437.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.06863, allocations: 16.92 kB / 437.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.06864, allocations: 0 / 437.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.75e-05/0.06869, allocations: 45.62 kB / 437.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.06871, allocations: 8 kB / 437.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.06872, allocations: 4 kB / 437.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.06873, allocations: 3.938 kB / 437.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.06876, allocations: 3.938 kB / 437.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.06878, allocations: 4 kB / 437.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.06879, allocations: 0 / 437.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.0688, 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.616e-05/0.06884, allocations: 121.7 kB / 437.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.06886, allocations: 0 / 437.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.451e-05/0.06888, allocations: 15.06 kB / 437.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.06888, allocations: 3.938 kB / 437.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.06889, allocations: 0 / 437.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.0689, allocations: 77.11 kB / 437.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.06892, allocations: 0 / 437.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.134e-05/0.06894, allocations: 0 / 437.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.06895, allocations: 0 / 437.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.219e-05/0.06905, allocations: 124.9 kB / 437.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 8.749e-05/0.06915, allocations: 214.7 kB / 438.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.33e-05/0.06917, allocations: 0 / 438.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.437e-06/0.06918, allocations: 79.31 kB / 438.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of Backend: time 2.51e-07/0.06919, allocations: 0 / 438.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002761/0.06947, allocations: 82.47 kB / 438.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of SimCode: time 0.000211/0.06969, allocations: 0.5415 MB / 438.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of Templates: time 0.001839/0.07154, 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)