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.007529/0.007529, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001752/0.001752, allocations: 201.5 kB / 16.68 MB, free: 5.973 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.408/1.408, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.2981/0.2981, allocations: 39.95 MB / 309.8 MB, free: 9.398 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.001382/0.001382, allocations: 67.91 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2587, allocations: 56.88 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001564/0.2603, allocations: 0.5364 MB / 493.2 MB, free: 19.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002204/0.2606, allocations: 66.06 kB / 493.3 MB, free: 19.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.2606, allocations: 0 / 493.3 MB, free: 19.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.169e-05/0.2606, allocations: 0 / 493.3 MB, free: 19.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.2608, allocations: 22.16 kB / 493.3 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.599e-05/0.2609, allocations: 1.625 kB / 493.3 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.66e-05/0.2609, allocations: 9.156 kB / 493.3 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.261, allocations: 2.266 kB / 493.3 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.478e-05/0.261, allocations: 2.094 kB / 493.3 MB, free: 19.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.2611, allocations: 9.641 kB / 493.3 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.2611, allocations: 1.406 kB / 493.3 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.2612, allocations: 19.22 kB / 493.3 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.085e-05/0.2612, allocations: 5.141 kB / 493.3 MB, free: 19.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.469e-05/0.2612, allocations: 5.984 kB / 493.4 MB, free: 19.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.494e-05/0.2613, allocations: 23.66 kB / 493.4 MB, free: 19.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2613, allocations: 0 / 493.4 MB, free: 19.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2613, allocations: 1.672 kB / 493.4 MB, free: 19.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.2613, allocations: 3.938 kB / 493.4 MB, free: 19.09 MB / 382.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.0002281/0.2615, allocations: 323 kB / 493.7 MB, free: 18.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2616, allocations: 17.67 kB / 493.7 MB, free: 18.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.2616, allocations: 1.594 kB / 493.7 MB, free: 18.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/0.2617, allocations: 163 kB / 493.9 MB, free: 18.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.006e-06/0.2617, allocations: 4.375 kB / 493.9 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.2617, allocations: 5.656 kB / 493.9 MB, free: 18.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/0.2618, allocations: 33.73 kB / 493.9 MB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2618, allocations: 192 / 493.9 MB, free: 18.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.2618, allocations: 5.125 kB / 493.9 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2618, allocations: 3.938 kB / 493.9 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.241e-05/0.2619, allocations: 11.19 kB / 493.9 MB, free: 18.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.262, allocations: 150.6 kB / 494.1 MB, free: 18.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.2622, allocations: 39.92 kB / 494.1 MB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.2622, allocations: 14.27 kB / 494.1 MB, free: 18.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003196/0.2625, allocations: 112.7 kB / 494.3 MB, free: 18.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.2625, allocations: 32.53 kB / 494.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2625, allocations: 3.938 kB / 494.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.001252/0.2638, allocations: 184.3 kB / 494.5 MB, free: 18.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.2638, allocations: 53.28 kB / 494.5 MB, free: 17.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.95e-05/0.2639, allocations: 95.47 kB / 494.6 MB, free: 17.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.2639, allocations: 26.92 kB / 494.6 MB, free: 17.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.061e-05/0.2639, allocations: 85.02 kB / 494.7 MB, free: 17.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.2639, allocations: 22.48 kB / 494.7 MB, free: 17.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.264, allocations: 18.48 kB / 494.8 MB, free: 17.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.264, allocations: 313.5 kB / 495.1 MB, free: 17.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.2641, allocations: 19.67 kB / 495.1 MB, free: 17.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.2642, allocations: 16.52 kB / 495.1 MB, free: 17.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.2644, allocations: 51.86 kB / 495.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.2644, allocations: 0 / 495.2 MB, free: 17.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001965/0.2646, allocations: 73.55 kB / 495.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.2646, allocations: 11.67 kB / 495.2 MB, free: 17.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2646, allocations: 3.938 kB / 495.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2647, allocations: 0 / 495.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.2648, allocations: 14.67 kB / 495.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.2648, allocations: 1.25 kB / 495.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.2649, allocations: 10.27 kB / 495.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.2649, allocations: 1.859 kB / 495.3 MB, free: 17.34 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 4.816e-05/0.265, allocations: 115.9 kB / 495.4 MB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.265, allocations: 6.094 kB / 495.4 MB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.2652, allocations: 85.78 kB / 495.5 MB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2652, allocations: 8.594 kB / 495.5 MB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.2653, allocations: 9 kB / 495.5 MB, free: 17.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2653, allocations: 4.75 kB / 495.5 MB, free: 17.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006286/0.2659, allocations: 351.5 kB / 495.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2659, allocations: 0 / 495.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.5e-05/0.266, allocations: 19.3 kB / 495.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.266, allocations: 5 kB / 495.9 MB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.266, allocations: 5.719 kB / 495.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.266, allocations: 1.094 kB / 495.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2661, allocations: 0 / 495.9 MB, free: 16.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.2663, allocations: 174.5 kB / 496 MB, free: 16.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.2663, allocations: 83.19 kB / 496.1 MB, free: 16.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.2663, allocations: 5.766 kB / 496.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2664, allocations: 5.438 kB / 496.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.2664, allocations: 7.594 kB / 496.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.2665, allocations: 3.016 kB / 496.1 MB, free: 16.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.485e-05/0.2665, allocations: 76.34 kB / 496.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2665, allocations: 0 / 496.2 MB, free: 16.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.2667, allocations: 8.672 kB / 496.2 MB, free: 16.48 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.0001037/0.2668, allocations: 116.8 kB / 496.3 MB, free: 16.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.2671, allocations: 46.02 kB / 496.4 MB, free: 16.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2671, allocations: 1.094 kB / 496.4 MB, free: 16.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.2672, allocations: 29.23 kB / 496.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.2674, allocations: 2.5 kB / 496.4 MB, free: 16.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.2677, allocations: 148.3 kB / 496.6 MB, free: 16.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.109e-05/0.2679, allocations: 0.676 MB / 497.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.038e-05/0.2679, allocations: 7.734 kB / 497.2 MB, free: 15.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.2679, allocations: 11.19 kB / 497.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2679, allocations: 1.281 kB / 497.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of Templates: time 0.002642/0.2706, allocations: 0.656 MB / 497.9 MB, free: 15.45 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (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)