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.0008105/0.0008104, allocations: 98.03 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.004781/0.004781, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.276/1.276, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.2711/0.2711, allocations: 38.03 MB / 308.8 MB, free: 10.31 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.0005042/0.0005042, allocations: 12.38 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09968/0.1002, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.0006833/0.1009, allocations: 281.9 kB / 434.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002932/0.1012, allocations: 63.81 kB / 434.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.1013, allocations: 0 / 434.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.1013, allocations: 0 / 434.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.1015, allocations: 15.92 kB / 434.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.677e-05/0.1015, allocations: 4 kB / 434.9 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.217e-05/0.1016, allocations: 4 kB / 434.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.1016, allocations: 4 kB / 434.9 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.801e-05/0.1016, allocations: 4 kB / 434.9 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.1017, allocations: 11.91 kB / 434.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1017, allocations: 4 kB / 435 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-05/0.1018, allocations: 19.92 kB / 435 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.197e-06/0.1018, allocations: 0 / 435 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.1018, allocations: 29.64 kB / 435 MB, free: 4.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.665e-05/0.1019, allocations: 19.97 kB / 435 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1019, allocations: 0 / 435 MB, free: 4.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1019, allocations: 0 / 435 MB, free: 4.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1019, allocations: 0 / 435 MB, free: 4.758 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.0002508/0.1022, allocations: 319.6 kB / 435.3 MB, free: 4.395 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1022, allocations: 12.03 kB / 435.3 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.1022, allocations: 0.9375 kB / 435.3 MB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.256e-05/0.1023, allocations: 168.6 kB / 435.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.1023, allocations: 384 / 435.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.1024, allocations: 384 / 435.5 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.873e-05/0.1024, allocations: 34.27 kB / 435.5 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1025, allocations: 192 / 435.5 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1025, allocations: 7.938 kB / 435.6 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1025, allocations: 0 / 435.6 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.1025, allocations: 15.92 kB / 435.6 MB, free: 4.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.1027, allocations: 157.6 kB / 435.7 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.1028, allocations: 34.52 kB / 435.8 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.1029, allocations: 12.94 kB / 435.8 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/0.1032, allocations: 125.1 kB / 435.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1033, allocations: 34.56 kB / 435.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.156e-06/0.1033, allocations: 0 / 435.9 MB, free: 3.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.001204/0.1045, allocations: 233.3 kB / 436.1 MB, free: 3.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1045, allocations: 51.41 kB / 436.2 MB, free: 3.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.751e-05/0.1046, allocations: 89.86 kB / 436.3 MB, free: 3.277 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1046, allocations: 25.7 kB / 436.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.1046, allocations: 92.08 kB / 436.4 MB, free: 3.152 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1047, allocations: 11.94 kB / 436.4 MB, free: 3.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.1047, allocations: 9.719 kB / 436.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.1048, allocations: 322.8 kB / 436.7 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/0.1049, allocations: 19.98 kB / 436.8 MB, free: 2.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.329e-05/0.105, allocations: 23.98 kB / 436.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1051, allocations: 56.83 kB / 436.8 MB, free: 2.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1051, allocations: 0 / 436.8 MB, free: 2.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002026/0.1053, allocations: 89.56 kB / 436.9 MB, free: 2.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1054, allocations: 11.94 kB / 436.9 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1054, allocations: 4.25 kB / 436.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1054, allocations: 0 / 436.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.1055, allocations: 23.92 kB / 437 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.1055, allocations: 0 / 437 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.1056, allocations: 7.984 kB / 437 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-06/0.1056, allocations: 4 kB / 437 MB, free: 2.555 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.061e-05/0.1057, allocations: 117.8 kB / 437.1 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.1057, allocations: 3.938 kB / 437.1 MB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.106, allocations: 97.2 kB / 437.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.106, allocations: 0 / 437.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.106, allocations: 4 kB / 437.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.106, allocations: 0 / 437.2 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006763/0.1067, allocations: 367.3 kB / 437.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1067, allocations: 0 / 437.6 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.1068, allocations: 23.92 kB / 437.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1068, allocations: 0 / 437.6 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1068, allocations: 3.984 kB / 437.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1068, allocations: 0 / 437.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1068, allocations: 0 / 437.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.1071, allocations: 192.3 kB / 437.8 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.1071, allocations: 81.02 kB / 437.8 MB, free: 1.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.1071, allocations: 3.938 kB / 437.9 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1072, allocations: 19.98 kB / 437.9 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.093e-05/0.1073, allocations: 3.938 kB / 437.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1073, allocations: 4 kB / 437.9 MB, free: 1.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.596e-05/0.1073, allocations: 79.22 kB / 438 MB, free: 1.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1073, allocations: 0 / 438 MB, free: 1.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000216/0.1075, allocations: 8 kB / 438 MB, free: 1.453 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.000115/0.1077, allocations: 107.2 kB / 438.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1079, allocations: 64.12 kB / 438.1 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1079, allocations: 0 / 438.1 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/0.108, allocations: 35.91 kB / 438.2 MB, free: 1.242 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.1082, allocations: 3.938 kB / 438.2 MB, free: 1.238 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003603/0.1085, allocations: 143.6 kB / 438.3 MB, free: 1.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.1088, allocations: 0.6809 MB / 439 MB, free: 368 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.39e-05/0.1088, allocations: 4 kB / 439 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.1089, allocations: 11.44 kB / 439 MB, free: 352 kB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1089, allocations: 0 / 439 MB, free: 352 kB / 366.1 MB Notification: Performance of Templates: time 0.002229/0.1111, allocations: 0.6313 MB / 439.6 MB, free: 15.71 MB / 382.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: