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.000784/0.000784, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008298/0.0008299, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.326/0.326, allocations: 38.04 MB / 308.4 MB, free: 10.43 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.0005602/0.0005603, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 57.52 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006828/0.1188, allocations: 270 kB / 434.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002853/0.1191, allocations: 63.75 kB / 434.3 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.1191, allocations: 4 kB / 434.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.1192, allocations: 0 / 434.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000211/0.1194, allocations: 11.98 kB / 434.3 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.102e-05/0.1194, allocations: 8 kB / 434.3 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.666e-05/0.1195, allocations: 3.938 kB / 434.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.613e-05/0.1195, allocations: 0 / 434.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.1195, allocations: 4 kB / 434.3 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.288e-05/0.1196, allocations: 3.984 kB / 434.3 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1196, allocations: 0 / 434.3 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.1197, allocations: 23.97 kB / 434.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.175e-06/0.1197, allocations: 11.94 kB / 434.4 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.1197, allocations: 25.7 kB / 434.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.161e-05/0.1198, allocations: 11.98 kB / 434.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1198, allocations: 0 / 434.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1198, allocations: 0 / 434.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.1198, allocations: 0 / 434.4 MB, free: 5.117 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.0002892/0.1201, allocations: 315.4 kB / 434.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1202, allocations: 8.031 kB / 434.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.085e-05/0.1202, allocations: 0 / 434.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1203, allocations: 171.2 kB / 434.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1204, allocations: 8 kB / 434.9 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1204, allocations: 0 / 434.9 MB, free: 4.539 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1205, allocations: 33.69 kB / 434.9 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1205, allocations: 3.938 kB / 434.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1205, allocations: 0 / 434.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1205, allocations: 7.922 kB / 434.9 MB, free: 4.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.1206, allocations: 8 kB / 434.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001613/0.1208, allocations: 157.5 kB / 435.1 MB, free: 4.277 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.1209, allocations: 42.61 kB / 435.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.121, allocations: 12.86 kB / 435.1 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.1213, allocations: 125.2 kB / 435.3 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1214, allocations: 38.48 kB / 435.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.867e-06/0.1214, allocations: 0 / 435.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001164/0.1226, allocations: 213.5 kB / 435.5 MB, free: 3.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1226, allocations: 55.34 kB / 435.6 MB, free: 3.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.627e-05/0.1227, allocations: 93.86 kB / 435.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1227, allocations: 25.7 kB / 435.7 MB, free: 3.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.263e-05/0.1227, allocations: 80.14 kB / 435.8 MB, free: 3.527 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.1228, allocations: 11.81 kB / 435.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.1228, allocations: 0 / 435.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1229, allocations: 322.8 kB / 436.1 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-05/0.123, allocations: 24.11 kB / 436.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.1231, allocations: 23.98 kB / 436.1 MB, free: 3.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.1232, allocations: 28.17 kB / 436.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1232, allocations: 0 / 436.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001831/0.1234, allocations: 89.56 kB / 436.2 MB, free: 3.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1234, allocations: 4 kB / 436.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1234, allocations: 0 / 436.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1234, allocations: 0 / 436.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1235, allocations: 23.92 kB / 436.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1236, allocations: 0 / 436.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.1236, allocations: 15.98 kB / 436.3 MB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1237, allocations: 0 / 436.3 MB, free: 2.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.103e-05/0.1237, allocations: 122.8 kB / 436.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/0.1237, allocations: 0 / 436.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.124, allocations: 97.2 kB / 436.5 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.124, allocations: 4 kB / 436.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.124, allocations: 0 / 436.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.124, allocations: 0 / 436.5 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.1247, allocations: 375.3 kB / 436.9 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1247, allocations: 3.984 kB / 436.9 MB, free: 2.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.1248, allocations: 19.92 kB / 436.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1248, allocations: 4.031 kB / 436.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1248, allocations: 4 kB / 436.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1248, allocations: 0 / 436.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1249, allocations: 0 / 436.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1251, allocations: 188.5 kB / 437.1 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1251, allocations: 88.95 kB / 437.2 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.1252, allocations: 7.938 kB / 437.2 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.437e-05/0.1252, allocations: 7.984 kB / 437.2 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.1253, allocations: 4 kB / 437.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1253, allocations: 0 / 437.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.1253, allocations: 79.28 kB / 437.3 MB, free: 1.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1253, allocations: 8.031 kB / 437.3 MB, free: 1.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.1255, allocations: 12 kB / 437.3 MB, free: 1.863 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.1257, allocations: 107.2 kB / 437.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1259, allocations: 43.97 kB / 437.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1259, allocations: 4 kB / 437.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.126, allocations: 36.23 kB / 437.5 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.1262, allocations: 8 kB / 437.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.1265, allocations: 139.6 kB / 437.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1268, allocations: 0.677 MB / 438.3 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.876e-05/0.1268, allocations: 8 kB / 438.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.1269, allocations: 7.438 kB / 438.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1269, allocations: 0 / 438.3 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of Templates: time 0.002516/0.1294, allocations: 0.6268 MB / 438.9 MB, free: 152 kB / 366.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: