Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/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(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008563/0.0008565, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005083/0.005083, allocations: 170.3 kB / 16.27 MB, free: 6.648 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.42/1.42, allocations: 205.4 MB / 222.4 MB, free: 5.809 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3203/0.3203, allocations: 40.01 MB / 310.7 MB, free: 9.438 MB / 254.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: ModelicaTest 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.0005494/0.0005494, allocations: 20 kB / 379.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 57.95 MB / 437.4 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0005528/0.1143, allocations: 282 kB / 437.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.1145, allocations: 75.69 kB / 437.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-06/0.1145, allocations: 0 / 437.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.644e-06/0.1145, allocations: 0 / 437.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.1147, allocations: 4 kB / 437.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.095e-05/0.1147, allocations: 0 / 437.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.402e-05/0.1147, allocations: 15.92 kB / 437.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.458e-05/0.1148, allocations: 0 / 437.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.151e-05/0.1148, allocations: 11.92 kB / 437.8 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.728e-05/0.1148, allocations: 0 / 437.8 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.1148, allocations: 4 kB / 437.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.656e-05/0.1149, allocations: 23.97 kB / 437.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.24e-06/0.1149, allocations: 0 / 437.8 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.1149, allocations: 29.64 kB / 437.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 5.092e-05/0.115, allocations: 19.97 kB / 437.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.115, allocations: 0 / 437.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.115, allocations: 0 / 437.9 MB, free: 1.512 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.445e-06/0.115, allocations: 0 / 437.9 MB, free: 1.512 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002363/0.1152, allocations: 323.5 kB / 438.2 MB, free: 1.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.1153, allocations: 8.031 kB / 438.2 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.59e-05/0.1153, allocations: 4.938 kB / 438.2 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.755e-05/0.1154, allocations: 164.6 kB / 438.3 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.1154, allocations: 4.375 kB / 438.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.1154, allocations: 384 / 438.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.124e-05/0.1155, allocations: 42.12 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.1155, allocations: 192 / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.1155, allocations: 7.938 kB / 438.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-06/0.1155, allocations: 0 / 438.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.1156, allocations: 8 kB / 438.4 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.1157, allocations: 153.7 kB / 438.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1159, allocations: 42.59 kB / 438.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.1159, allocations: 8.859 kB / 438.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.1163, allocations: 129.1 kB / 438.7 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1163, allocations: 34.5 kB / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1163, allocations: 0 / 438.8 MB, free: 428 kB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001182/0.1175, allocations: 221.3 kB / 439 MB, free: 200 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.1175, allocations: 55.41 kB / 439 MB, free: 132 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.489e-05/0.1176, allocations: 89.86 kB / 439.1 MB, free: 32 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1176, allocations: 25.7 kB / 439.1 MB, free: 0 / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.1176, allocations: 84.14 kB / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.1177, allocations: 15.8 kB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.1177, allocations: 9.719 kB / 439.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.1178, allocations: 319 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.1179, allocations: 27.92 kB / 439.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.586e-05/0.118, allocations: 28.03 kB / 439.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1181, allocations: 56.95 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1181, allocations: 0 / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001932/0.1183, allocations: 89.61 kB / 439.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1184, allocations: 7.938 kB / 439.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1184, allocations: 0 / 439.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.134e-06/0.1184, allocations: 4 kB / 439.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1185, allocations: 15.98 kB / 439.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1185, allocations: 3.984 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.1186, allocations: 8 kB / 439.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1186, allocations: 0 / 439.8 MB, free: 15.32 MB / 382.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 (5): * Single equations (assignments): 5 * 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 7.675e-05/0.1187, allocations: 117.8 kB / 439.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.263e-05/0.1187, allocations: 7.922 kB / 439.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.119, allocations: 97.16 kB / 440 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.119, allocations: 0 / 440 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.119, allocations: 0 / 440 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.119, allocations: 7.938 kB / 440 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.1197, allocations: 379.2 kB / 440.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1197, allocations: 0 / 440.4 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.094e-05/0.1198, allocations: 15.98 kB / 440.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1198, allocations: 0 / 440.4 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1198, allocations: 4 kB / 440.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1199, allocations: 0 / 440.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1199, allocations: 0 / 440.4 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002366/0.1201, allocations: 192.5 kB / 440.6 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.1201, allocations: 85.05 kB / 440.7 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1202, allocations: 3.984 kB / 440.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.1203, allocations: 8 kB / 440.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.1203, allocations: 8 kB / 440.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1203, allocations: 3.984 kB / 440.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.776e-05/0.1203, allocations: 79.28 kB / 440.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1203, allocations: 0 / 440.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.1206, allocations: 8 kB / 440.8 MB, free: 14.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (5): * Single equations (assignments): 5 * 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 0.0001109/0.1207, allocations: 103.2 kB / 440.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1209, allocations: 63.98 kB / 441 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1209, allocations: 0 / 441 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.121, allocations: 27.92 kB / 441 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.1212, allocations: 11.73 kB / 441 MB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003549/0.1216, allocations: 147.5 kB / 441.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1218, allocations: 0.677 MB / 441.8 MB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.1218, allocations: 15.88 kB / 441.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.1219, allocations: 15.42 kB / 441.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1219, allocations: 0 / 441.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of Templates: time 0.002149/0.124, allocations: 0.6279 MB / 442.5 MB, free: 12.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) Environment - environmentSimulation: