Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008506/0.008506, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.002117/0.002117, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.424/1.424, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.2961/0.2961, allocations: 38 MB / 307.9 MB, free: 10.18 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.001467/0.001467, allocations: 72.41 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.275, allocations: 56.47 MB / 489.5 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001457/0.2765, allocations: 0.543 MB / 490 MB, free: 19.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006386/0.2771, allocations: 408.1 kB / 490.4 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.2772, allocations: 0 / 490.4 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.2772, allocations: 3.938 kB / 490.4 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.271e-05/0.2772, allocations: 4 kB / 490.4 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.2777, allocations: 148.6 kB / 490.5 MB, free: 19.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.847e-05/0.2778, allocations: 26.86 kB / 490.6 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.2778, allocations: 2.766 kB / 490.6 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.549e-05/0.2779, allocations: 17.67 kB / 490.6 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.2779, allocations: 22.08 kB / 490.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.2779, allocations: 2.188 kB / 490.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.2782, allocations: 160.7 kB / 490.8 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.2782, allocations: 11.84 kB / 490.8 MB, free: 19.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.2783, allocations: 22.75 kB / 490.8 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.2785, allocations: 123.7 kB / 490.9 MB, free: 19.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2785, allocations: 0.7031 kB / 490.9 MB, free: 19.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2785, allocations: 1 kB / 490.9 MB, free: 19.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.2785, allocations: 0 / 490.9 MB, free: 19.23 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003145/0.2788, allocations: 360.7 kB / 491.3 MB, free: 18.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2789, allocations: 13.02 kB / 491.3 MB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.2789, allocations: 8.188 kB / 491.3 MB, free: 18.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.866e-05/0.279, allocations: 170.8 kB / 491.5 MB, free: 18.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.279, allocations: 2.594 kB / 491.5 MB, free: 18.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.279, allocations: 9.125 kB / 491.5 MB, free: 18.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2792, allocations: 65.95 kB / 491.5 MB, free: 18.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.2792, allocations: 14.14 kB / 491.6 MB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2792, allocations: 4 kB / 491.6 MB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2792, allocations: 1.938 kB / 491.6 MB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.061e-05/0.2793, allocations: 41.05 kB / 491.6 MB, free: 18.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.2795, allocations: 175.9 kB / 491.8 MB, free: 18.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.2796, allocations: 95.17 kB / 491.9 MB, free: 18.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.2797, allocations: 29.78 kB / 491.9 MB, free: 18.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.2799, allocations: 102.1 kB / 492 MB, free: 18.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.2799, allocations: 32.06 kB / 492 MB, free: 18.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.2799, allocations: 0 / 492 MB, free: 18.18 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.1398/0.4197, allocations: 5.631 MB / 497.7 MB, free: 17.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.4198, allocations: 53.03 kB / 497.7 MB, free: 17.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.082e-05/0.4198, allocations: 99.36 kB / 497.8 MB, free: 17.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4199, allocations: 31.52 kB / 497.8 MB, free: 17.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.255e-05/0.4199, allocations: 80.52 kB / 497.9 MB, free: 17.03 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.4199, allocations: 71.19 kB / 498 MB, free: 16.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-05/0.42, allocations: 59.95 kB / 498 MB, free: 16.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.4201, allocations: 324 kB / 498.4 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.4204, allocations: 114.2 kB / 498.5 MB, free: 16.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000327/0.4208, allocations: 110.9 kB / 498.6 MB, free: 16.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.4221, allocations: 331.7 kB / 498.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4221, allocations: 0 / 498.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001119/0.4233, allocations: 354.3 kB / 499.3 MB, free: 16.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4233, allocations: 9.453 kB / 499.3 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4233, allocations: 0 / 499.3 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.4233, allocations: 1.156 kB / 499.3 MB, free: 16.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.4237, allocations: 82.95 kB / 499.3 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4237, allocations: 5.344 kB / 499.4 MB, free: 16.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.4239, allocations: 27.98 kB / 499.4 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.4239, allocations: 22.52 kB / 499.4 MB, free: 16.13 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 (23): * Single equations (assignments): 23 * 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.683e-05/0.424, allocations: 114.4 kB / 499.5 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.4241, allocations: 7.469 kB / 499.5 MB, free: 16.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.4254, allocations: 431.1 kB / 499.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4254, allocations: 2.781 kB / 499.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4254, allocations: 4 kB / 499.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4254, allocations: 0 / 499.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.4274, allocations: 0.7755 MB / 0.489 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.4274, allocations: 5.344 kB / 0.489 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.4277, allocations: 75.86 kB / 0.4891 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4277, allocations: 2.375 kB / 0.4891 GB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.4277, allocations: 16.05 kB / 0.4891 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.4278, allocations: 5.156 kB / 0.4891 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4278, allocations: 5.406 kB / 0.4891 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.4288, allocations: 432.1 kB / 0.4895 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.4289, allocations: 88.47 kB / 0.4896 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.4289, allocations: 10.31 kB / 0.4896 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.4291, allocations: 21.38 kB / 0.4896 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.4291, allocations: 19 kB / 0.4896 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.4291, allocations: 11.62 kB / 0.4896 GB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.566e-05/0.4292, allocations: 83.27 kB / 0.4897 GB, free: 14.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4292, allocations: 1.375 kB / 0.4897 GB, free: 14.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001886/0.431, allocations: 0.6221 MB / 0.4903 GB, free: 14.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.002998/0.4341, allocations: 298 kB / 0.4906 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007871/0.4349, allocations: 263.6 kB / 0.4909 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4349, allocations: 3.938 kB / 0.4909 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.4352, allocations: 131.8 kB / 0.491 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.4354, allocations: 14.41 kB / 0.491 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008256/0.4363, allocations: 334.2 kB / 0.4913 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.4364, allocations: 0.6951 MB / 0.492 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.4366, allocations: 77.58 kB / 0.4921 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.4367, allocations: 48.73 kB / 0.4921 GB, free: 13.29 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4367, allocations: 1.156 kB / 0.4921 GB, free: 13.29 MB / 382.1 MB Notification: Performance of Templates: time 0.06808/0.5048, allocations: 53.89 MB / 0.5448 GB, free: 14.55 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1)