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.001593/0.001593, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001787/0.001787, allocations: 187 kB / 17.34 MB, free: 5.762 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.384/1.384, 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.09815/0.09815, allocations: 8.112 MB / 278.7 MB, free: 3.941 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.001496/0.001496, allocations: 66.98 kB / 387.3 MB, free: 47.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.0948, allocations: 48.32 MB / 435.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001939/0.09678, allocations: 377.3 kB / 436 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002129/0.09703, allocations: 23.89 kB / 436 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.18e-05/0.09707, allocations: 0 / 436 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.661e-05/0.09709, allocations: 4 kB / 436 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.584e-06/0.09711, allocations: 0 / 436 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.09731, allocations: 0 / 436 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.563e-05/0.09741, allocations: 4 kB / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.337e-05/0.09749, allocations: 0 / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.383e-05/0.09752, allocations: 0 / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.576e-05/0.0976, allocations: 0 / 436 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.09763, allocations: 4 kB / 436 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.09764, allocations: 0 / 436 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.61e-05/0.09768, allocations: 3.984 kB / 436 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.09772, allocations: 0 / 436 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.006e-05/0.09781, allocations: 11.98 kB / 436 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.09782, allocations: 3.938 kB / 436.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.09783, allocations: 0 / 436.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.09784, allocations: 0 / 436.1 MB, free: 8.176 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.0003232/0.09817, allocations: 311.6 kB / 436.4 MB, free: 7.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.09822, allocations: 15.97 kB / 436.4 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.09826, allocations: 4.922 kB / 436.4 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.82e-05/0.09833, allocations: 160.4 kB / 436.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.09835, allocations: 4.312 kB / 436.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.09838, allocations: 384 / 436.5 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.387e-05/0.09848, allocations: 34.27 kB / 436.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.0985, allocations: 192 / 436.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.09852, allocations: 3.938 kB / 436.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.09853, allocations: 0 / 436.6 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.92e-05/0.09855, allocations: 4 kB / 436.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.09882, allocations: 157.7 kB / 436.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.134e-05/0.09887, allocations: 18.52 kB / 436.8 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.894e-05/0.0989, allocations: 12.86 kB / 436.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.09891, allocations: 3.984 kB / 436.8 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.09894, allocations: 34.66 kB / 436.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.09894, allocations: 0 / 436.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001509/0.0991, allocations: 41.56 kB / 436.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.09914, allocations: 51.41 kB / 436.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.425e-05/0.09918, allocations: 89.86 kB / 437 MB, free: 7.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.0992, allocations: 25.83 kB / 437 MB, free: 7.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.09924, allocations: 88.14 kB / 437.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.09929, allocations: 4 kB / 437.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.09932, allocations: 9.719 kB / 437.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.0994, allocations: 310.8 kB / 437.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.332e-05/0.09942, allocations: 7.984 kB / 437.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.09943, allocations: 0 / 437.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.346e-05/0.09947, allocations: 12.86 kB / 437.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.09948, allocations: 4.062 kB / 437.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.029e-05/0.09953, allocations: 45.55 kB / 437.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.09956, allocations: 8 kB / 437.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.09957, allocations: 0 / 437.5 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.09959, allocations: 3.938 kB / 437.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.897e-05/0.09963, allocations: 4 kB / 437.5 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.09964, allocations: 3.984 kB / 437.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.234e-05/0.09966, allocations: 0 / 437.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.09967, allocations: 0 / 437.5 MB, free: 6.504 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 5.125e-05/0.09973, allocations: 121.7 kB / 437.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-06/0.09974, allocations: 0 / 437.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.09976, allocations: 15.02 kB / 437.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.09976, allocations: 0 / 437.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.09977, allocations: 0 / 437.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.09978, allocations: 0 / 437.6 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.09989, allocations: 153.7 kB / 437.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.09989, allocations: 0 / 437.8 MB, free: 6.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.09992, allocations: 4 kB / 437.8 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.09993, allocations: 3.938 kB / 437.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.09994, allocations: 7.938 kB / 437.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.09995, allocations: 0 / 437.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.09995, allocations: 3.984 kB / 437.8 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.723e-05/0.1, allocations: 65.06 kB / 437.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.1001, allocations: 77.11 kB / 437.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.1001, allocations: 7.969 kB / 437.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.098e-05/0.1001, allocations: 0 / 437.9 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.1001, allocations: 4.094 kB / 438 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.1001, allocations: 0 / 438 MB, free: 5.957 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.766e-05/0.1002, allocations: 75.28 kB / 438 MB, free: 5.883 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1002, allocations: 0 / 438 MB, free: 5.883 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002067/0.1004, allocations: 0 / 438 MB, free: 5.883 MB / 318.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.759e-05/0.1004, allocations: 103.2 kB / 438.1 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.778e-05/0.1005, allocations: 4 kB / 438.1 MB, free: 5.766 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1005, allocations: 4 kB / 438.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.853e-06/0.1005, allocations: 8 kB / 438.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.1007, allocations: 4 kB / 438.1 MB, free: 5.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.101, allocations: 119.3 kB / 438.3 MB, free: 5.602 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.1011, allocations: 0.6729 MB / 438.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.1011, allocations: 7.438 kB / 438.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1011, allocations: 0 / 438.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of Templates: time 0.00179/0.1029, allocations: 390.8 kB / 439.3 MB, free: 4.516 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)