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.001367/0.001367, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001596/0.001596, allocations: 189.6 kB / 16.25 MB, free: 6.629 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.309/1.309, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.2797/0.2797, allocations: 37.98 MB / 307.4 MB, free: 10.06 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.001333/0.001333, allocations: 66.47 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1078, allocations: 56.47 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001687/0.1096, allocations: 0.6103 MB / 431.8 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002751/0.1098, allocations: 63.75 kB / 431.9 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.1099, allocations: 4 kB / 431.9 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.1099, allocations: 4 kB / 431.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002567/0.1102, allocations: 11.98 kB / 431.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.786e-05/0.1102, allocations: 0 / 431.9 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.639e-05/0.1103, allocations: 11.94 kB / 431.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.1103, allocations: 3.984 kB / 431.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.1103, allocations: 7.922 kB / 431.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.1104, allocations: 4 kB / 431.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1104, allocations: 0 / 431.9 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.309e-05/0.1105, allocations: 19.98 kB / 431.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.1105, allocations: 4 kB / 431.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.912e-05/0.1105, allocations: 3.938 kB / 431.9 MB, free: 6.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.474e-05/0.1106, allocations: 23.95 kB / 432 MB, free: 6.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1107, allocations: 0 / 432 MB, free: 6.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1107, allocations: 0 / 432 MB, free: 6.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1107, allocations: 0 / 432 MB, free: 6.195 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.000429/0.1111, allocations: 319.6 kB / 432.3 MB, free: 5.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/0.1112, allocations: 15.89 kB / 432.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1112, allocations: 0.9375 kB / 432.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1113, allocations: 168.6 kB / 432.5 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1114, allocations: 384 / 432.5 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1114, allocations: 4.375 kB / 432.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.138e-05/0.1115, allocations: 42.19 kB / 432.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1115, allocations: 192 / 432.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1115, allocations: 3.938 kB / 432.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1115, allocations: 0 / 432.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.429e-05/0.1116, allocations: 4 kB / 432.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.1117, allocations: 157.6 kB / 432.7 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1119, allocations: 38.61 kB / 432.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.1119, allocations: 12.86 kB / 432.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/0.1122, allocations: 117.1 kB / 432.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.1123, allocations: 34.5 kB / 432.9 MB, free: 5.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1123, allocations: 4 kB / 432.9 MB, free: 5.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001444/0.1137, allocations: 181.4 kB / 433 MB, free: 4.926 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.1138, allocations: 51.41 kB / 433.1 MB, free: 4.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.1139, allocations: 93.86 kB / 433.2 MB, free: 4.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1139, allocations: 37.64 kB / 433.2 MB, free: 4.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1139, allocations: 80.14 kB / 433.3 MB, free: 4.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.114, allocations: 11.8 kB / 433.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.114, allocations: 21.72 kB / 433.3 MB, free: 4.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1142, allocations: 310.8 kB / 433.6 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1143, allocations: 19.98 kB / 433.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.531e-05/0.1144, allocations: 28.09 kB / 433.7 MB, free: 4.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.1145, allocations: 44.83 kB / 433.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1146, allocations: 0 / 433.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001799/0.1147, allocations: 77.52 kB / 433.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1148, allocations: 11.94 kB / 433.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1148, allocations: 0 / 433.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1148, allocations: 3.984 kB / 433.8 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.1149, allocations: 15.98 kB / 433.8 MB, free: 4.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1149, allocations: 8.234 kB / 433.8 MB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.072e-05/0.115, allocations: 4 kB / 433.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.115, allocations: 8 kB / 433.9 MB, free: 4.059 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 6.305e-05/0.1151, allocations: 113.8 kB / 434 MB, free: 3.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.1151, allocations: 7.938 kB / 434 MB, free: 3.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.1154, allocations: 89.16 kB / 434.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1154, allocations: 288 / 434.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1154, allocations: 0 / 434.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1154, allocations: 7.969 kB / 434.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/0.116, allocations: 359.3 kB / 434.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1161, allocations: 0 / 434.4 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.149e-05/0.1162, allocations: 15.98 kB / 434.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.1162, allocations: 0 / 434.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1162, allocations: 0 / 434.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1162, allocations: 0 / 434.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1162, allocations: 4 kB / 434.4 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.1164, allocations: 192.1 kB / 434.6 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.1165, allocations: 77.11 kB / 434.7 MB, free: 3.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.1165, allocations: 7.984 kB / 434.7 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.1166, allocations: 4 kB / 434.7 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.1166, allocations: 3.984 kB / 434.7 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1166, allocations: 4 kB / 434.7 MB, free: 3.078 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.1166, allocations: 75.28 kB / 434.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1167, allocations: 96 / 434.8 MB, free: 3.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.1169, allocations: 16 kB / 434.8 MB, free: 2.988 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.000132/0.117, allocations: 99.19 kB / 434.9 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.1172, allocations: 59.83 kB / 435 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1172, allocations: 0 / 435 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.1173, allocations: 27.92 kB / 435 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1175, allocations: 3.656 kB / 435 MB, free: 2.797 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.1179, allocations: 149.7 kB / 435.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.1182, allocations: 0.6767 MB / 435.8 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.954e-05/0.1182, allocations: 12.25 kB / 435.8 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.1183, allocations: 11.42 kB / 435.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1183, allocations: 0 / 435.8 MB, free: 1.895 MB / 366.1 MB Notification: Performance of Templates: time 0.002318/0.1206, allocations: 0.651 MB / 436.5 MB, free: 1.246 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)