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.006892/0.006892, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001357/0.001357, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.529/1.529, allocations: 205.1 MB / 222.5 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.1133/0.1133, allocations: 8.118 MB / 278 MB, free: 3.938 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.001463/0.001463, allocations: 68.95 kB / 386.6 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1059, allocations: 48.32 MB / 434.9 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001483/0.1074, allocations: 395.9 kB / 435.3 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001628/0.1076, allocations: 11.92 kB / 435.3 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.1076, allocations: 0 / 435.3 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.1076, allocations: 4 kB / 435.3 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.1076, allocations: 4 kB / 435.3 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000138/0.1078, allocations: 3.984 kB / 435.4 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.996e-05/0.1078, allocations: 4 kB / 435.4 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.1079, allocations: 4 kB / 435.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.471e-05/0.1079, allocations: 3.984 kB / 435.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.108, allocations: 0 / 435.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.108, allocations: 0 / 435.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.893e-06/0.108, allocations: 0 / 435.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.108, allocations: 0 / 435.4 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.108, allocations: 4 kB / 435.4 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 5.011e-05/0.1081, allocations: 4 kB / 435.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1081, allocations: 0 / 435.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1081, allocations: 3.938 kB / 435.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.1081, allocations: 0 / 435.4 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.0002589/0.1084, allocations: 319.6 kB / 435.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1084, allocations: 8.031 kB / 435.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.1085, allocations: 4.875 kB / 435.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.873e-05/0.1085, allocations: 160.4 kB / 435.9 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1085, allocations: 4.375 kB / 435.9 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.1086, allocations: 4.375 kB / 435.9 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.318e-05/0.1086, allocations: 30.25 kB / 435.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1087, allocations: 192 / 435.9 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-06/0.1087, allocations: 3.938 kB / 435.9 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1087, allocations: 4 kB / 435.9 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.531e-05/0.1087, allocations: 0 / 435.9 MB, free: 7.547 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.1089, allocations: 149.7 kB / 436.1 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.109, allocations: 26.53 kB / 436.1 MB, free: 7.316 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.109, allocations: 8.859 kB / 436.1 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.109, allocations: 0 / 436.1 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.109, allocations: 34.56 kB / 436.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.109, allocations: 0 / 436.1 MB, free: 7.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.1091, allocations: 49.58 kB / 436.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.1092, allocations: 51.41 kB / 436.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.83e-05/0.1092, allocations: 89.86 kB / 436.3 MB, free: 7.047 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.593e-06/0.1092, allocations: 29.83 kB / 436.3 MB, free: 7.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.269e-05/0.1092, allocations: 84.12 kB / 436.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1092, allocations: 0 / 436.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.1093, allocations: 17.72 kB / 436.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.69e-05/0.1093, allocations: 310.8 kB / 436.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.109e-05/0.1093, allocations: 0 / 436.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-06/0.1094, allocations: 4 kB / 436.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/0.1094, allocations: 16.92 kB / 436.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1094, allocations: 0 / 436.8 MB, free: 6.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.598e-05/0.1094, allocations: 45.53 kB / 436.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.1095, allocations: 4 kB / 436.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1095, allocations: 0 / 436.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1095, allocations: 3.938 kB / 436.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.447e-05/0.1095, allocations: 4 kB / 436.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1095, allocations: 0 / 436.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.109e-05/0.1095, allocations: 0 / 436.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1096, allocations: 4 kB / 436.8 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 4.215e-05/0.1096, allocations: 121.8 kB / 436.9 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.1096, allocations: 7.922 kB / 436.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.545e-05/0.1096, allocations: 15 kB / 437 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1096, allocations: 0 / 437 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1096, allocations: 0 / 437 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1097, allocations: 0 / 437 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.023e-05/0.1097, allocations: 149.7 kB / 437.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1098, allocations: 0 / 437.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.1098, allocations: 3.984 kB / 437.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1098, allocations: 0 / 437.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1098, allocations: 7.938 kB / 437.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1098, allocations: 4 kB / 437.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1098, allocations: 0 / 437.1 MB, free: 6.141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.632e-05/0.1099, allocations: 61.08 kB / 437.2 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.1099, allocations: 81.09 kB / 437.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1099, allocations: 3.938 kB / 437.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.11, allocations: 0 / 437.3 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.11, allocations: 4.094 kB / 437.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.11, allocations: 4.031 kB / 437.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.558e-05/0.11, allocations: 75.28 kB / 437.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.11, allocations: 0 / 437.3 MB, free: 5.879 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001932/0.1102, allocations: 4 kB / 437.3 MB, free: 5.875 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 5.976e-05/0.1103, allocations: 103.1 kB / 437.4 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.56e-05/0.1103, allocations: 4 kB / 437.5 MB, free: 5.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1103, allocations: 4.062 kB / 437.5 MB, free: 5.754 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-06/0.1104, allocations: 11.92 kB / 437.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.1105, allocations: 0 / 437.5 MB, free: 5.742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002472/0.1107, allocations: 97.61 kB / 437.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.1109, allocations: 0.669 MB / 438.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.831e-05/0.1109, allocations: 0 / 438.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.1109, allocations: 7.438 kB / 438.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1109, allocations: 0 / 438.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of Templates: time 0.00198/0.1129, allocations: 219.4 kB / 438.5 MB, free: 4.711 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)