Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001415/0.001416, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00172/0.00172, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.344/1.344, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2985/0.2985, allocations: 37.98 MB / 307.3 MB, free: 10.03 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.1. 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.001288/0.001288, allocations: 64.53 kB / 374.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1149, allocations: 56.48 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001883/0.1168, allocations: 0.5948 MB / 431.6 MB, free: 6.469 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003104/0.1172, allocations: 67.75 kB / 431.7 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.1172, allocations: 4 kB / 431.7 MB, free: 6.398 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.1172, allocations: 0 / 431.7 MB, free: 6.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1174, allocations: 19.92 kB / 431.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.761e-05/0.1175, allocations: 0 / 431.7 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.57e-05/0.1175, allocations: 4 kB / 431.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.1176, allocations: 0 / 431.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.923e-05/0.1176, allocations: 7.938 kB / 431.7 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.1176, allocations: 7.984 kB / 431.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1177, allocations: 0 / 431.7 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.1178, allocations: 23.97 kB / 431.8 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.178e-05/0.1178, allocations: 4 kB / 431.8 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.1178, allocations: 3.938 kB / 431.8 MB, free: 6.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.1179, allocations: 19.92 kB / 431.8 MB, free: 6.309 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1179, allocations: 0 / 431.8 MB, free: 6.309 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1179, allocations: 0 / 431.8 MB, free: 6.309 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1179, allocations: 0 / 431.8 MB, free: 6.309 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.0003469/0.1183, allocations: 319.5 kB / 432.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1183, allocations: 12.03 kB / 432.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.1184, allocations: 0.9375 kB / 432.1 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1185, allocations: 172.6 kB / 432.3 MB, free: 5.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.1185, allocations: 4.375 kB / 432.3 MB, free: 5.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/0.1185, allocations: 4.375 kB / 432.3 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.552e-05/0.1186, allocations: 34.2 kB / 432.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1187, allocations: 192 / 432.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1187, allocations: 3.938 kB / 432.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1187, allocations: 0 / 432.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.354e-05/0.1187, allocations: 11.98 kB / 432.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001606/0.1189, allocations: 153.6 kB / 432.5 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1191, allocations: 42.55 kB / 432.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.1191, allocations: 16.86 kB / 432.5 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/0.1195, allocations: 117.1 kB / 432.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1195, allocations: 30.56 kB / 432.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1195, allocations: 4 kB / 432.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001304/0.1208, allocations: 181.4 kB / 432.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.1209, allocations: 51.41 kB / 432.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.618e-05/0.1209, allocations: 101.8 kB / 433 MB, free: 4.863 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.121, allocations: 29.7 kB / 433 MB, free: 4.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.705e-05/0.121, allocations: 80.14 kB / 433.1 MB, free: 4.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.121, allocations: 11.81 kB / 433.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.1211, allocations: 21.7 kB / 433.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.1212, allocations: 314.8 kB / 433.5 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.1212, allocations: 15.98 kB / 433.5 MB, free: 4.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.1213, allocations: 16.11 kB / 433.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.1215, allocations: 56.77 kB / 433.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1215, allocations: 0 / 433.5 MB, free: 4.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000192/0.1217, allocations: 77.56 kB / 433.6 MB, free: 4.219 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1217, allocations: 11.94 kB / 433.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.1217, allocations: 256 / 433.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1217, allocations: 0 / 433.6 MB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.1219, allocations: 15.98 kB / 433.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.1219, allocations: 8 kB / 433.7 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.122, allocations: 7.984 kB / 433.7 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.122, allocations: 0 / 433.7 MB, free: 4.176 MB / 366.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.184e-05/0.1221, allocations: 117.7 kB / 433.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.1221, allocations: 11.88 kB / 433.8 MB, free: 4.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.1223, allocations: 89.2 kB / 433.9 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1224, allocations: 0 / 433.9 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1224, allocations: 0 / 433.9 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1224, allocations: 3.938 kB / 433.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.1231, allocations: 355.3 kB / 434.2 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1231, allocations: 4.031 kB / 434.2 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.1232, allocations: 15.98 kB / 434.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1232, allocations: 0 / 434.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.1232, allocations: 4 kB / 434.3 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1232, allocations: 0 / 434.3 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.1233, allocations: 7.938 kB / 434.3 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1235, allocations: 180.2 kB / 434.4 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1235, allocations: 77.11 kB / 434.5 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1236, allocations: 8 kB / 434.5 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1237, allocations: 7.984 kB / 434.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.1237, allocations: 0 / 434.5 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1237, allocations: 4 kB / 434.5 MB, free: 3.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.491e-05/0.1237, allocations: 75.28 kB / 434.6 MB, free: 3.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1237, allocations: 0 / 434.6 MB, free: 3.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.124, allocations: 12.09 kB / 434.6 MB, free: 3.109 MB / 366.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.0001429/0.1241, allocations: 111.2 kB / 434.7 MB, free: 2.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002022/0.1243, allocations: 51.97 kB / 434.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1244, allocations: 0 / 434.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.1244, allocations: 27.97 kB / 434.8 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1247, allocations: 7.938 kB / 434.8 MB, free: 2.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.1251, allocations: 139.6 kB / 434.9 MB, free: 2.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.1253, allocations: 0.677 MB / 435.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.878e-05/0.1253, allocations: 8 kB / 435.6 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.1254, allocations: 7.438 kB / 435.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1254, allocations: 0 / 435.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of Templates: time 0.002399/0.1278, allocations: 0.643 MB / 436.3 MB, free: 1.379 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1)