Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009053/0.0009054, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.000963/0.0009631, allocations: 177.3 kB / 15.95 MB, free: 216 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.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2971/0.2971, allocations: 39.99 MB / 310.4 MB, free: 9.938 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.0005001/0.0005002, allocations: 12 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1082, allocations: 57.96 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0005571/0.1088, allocations: 252.4 kB / 437 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006399/0.1094, allocations: 386.5 kB / 437.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.145e-05/0.1094, allocations: 0 / 437.4 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1095, allocations: 7.938 kB / 437.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.047e-05/0.1095, allocations: 3.984 kB / 437.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1099, allocations: 103.7 kB / 437.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.1099, allocations: 23.91 kB / 437.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.11, allocations: 0 / 437.5 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.11, allocations: 12 kB / 437.5 MB, free: 1.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.091e-05/0.11, allocations: 23.91 kB / 437.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.457e-06/0.1101, allocations: 0 / 437.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.1103, allocations: 159.7 kB / 437.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.028e-05/0.1103, allocations: 4 kB / 437.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.1103, allocations: 33.7 kB / 437.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.1105, allocations: 80.16 kB / 437.8 MB, free: 1.512 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.1105, allocations: 0 / 437.8 MB, free: 1.512 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1105, allocations: 0 / 437.8 MB, free: 1.512 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1105, allocations: 0 / 437.8 MB, free: 1.512 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003811/0.1109, allocations: 359.2 kB / 438.2 MB, free: 1.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1109, allocations: 8.031 kB / 438.2 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.111, allocations: 7.859 kB / 438.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1111, allocations: 175 kB / 438.4 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1111, allocations: 4 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1111, allocations: 8 kB / 438.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1113, allocations: 65.66 kB / 438.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1113, allocations: 0 / 438.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1113, allocations: 0 / 438.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.1113, allocations: 4 kB / 438.5 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.434e-05/0.1114, allocations: 47.89 kB / 438.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001874/0.1116, allocations: 177.5 kB / 438.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.1118, allocations: 90.48 kB / 438.8 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.1121, allocations: 113 kB / 438.9 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.1121, allocations: 30.56 kB / 438.9 MB, free: 272 kB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.1121, allocations: 0 / 438.9 MB, free: 272 kB / 366.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.1324/0.2445, allocations: 5.835 MB / 444.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2446, allocations: 55.41 kB / 444.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.2447, allocations: 97.8 kB / 444.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.2447, allocations: 33.83 kB / 444.9 MB, free: 10.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/0.2447, allocations: 80.52 kB / 445 MB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.932e-05/0.2448, allocations: 78.84 kB / 445.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.2448, allocations: 4 kB / 445.1 MB, free: 10.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2449, allocations: 322.8 kB / 445.4 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.2453, allocations: 131.9 kB / 445.5 MB, free: 9.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.2457, allocations: 139.8 kB / 445.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.2464, allocations: 175.9 kB / 445.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2465, allocations: 0 / 445.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001198/0.2477, allocations: 401.8 kB / 446.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.2477, allocations: 4 kB / 446.2 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.2477, allocations: 3.938 kB / 446.2 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.478e-05/0.2478, allocations: 3.953 kB / 446.2 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.2482, allocations: 99.84 kB / 446.3 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.2482, allocations: 3.938 kB / 446.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.2484, allocations: 39.97 kB / 446.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.2485, allocations: 15.98 kB / 446.4 MB, free: 8.688 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.2486, allocations: 125.8 kB / 446.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.2486, allocations: 7.906 kB / 446.5 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.2501, allocations: 485.9 kB / 447 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.016e-06/0.2501, allocations: 11.94 kB / 447 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.2501, allocations: 0 / 447 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.2501, allocations: 0 / 447 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.2525, allocations: 0.8659 MB / 447.9 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.2525, allocations: 0 / 447.9 MB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.2528, allocations: 91.92 kB / 448 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.2528, allocations: 4 kB / 448 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/0.2528, allocations: 15.98 kB / 448 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2529, allocations: 0 / 448 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.2529, allocations: 0 / 448 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.254, allocations: 0.4884 MB / 448.5 MB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.2541, allocations: 81.02 kB / 448.5 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.2541, allocations: 8 kB / 448.6 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.2543, allocations: 39.97 kB / 448.6 MB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.2544, allocations: 15.94 kB / 448.6 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.2544, allocations: 15.98 kB / 448.6 MB, free: 6.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.754e-05/0.2545, allocations: 83.28 kB / 448.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2545, allocations: 0 / 448.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001724/0.2562, allocations: 0.6288 MB / 449.3 MB, free: 5.605 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 (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.002907/0.2591, allocations: 307.6 kB / 449.6 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008837/0.26, allocations: 299.8 kB / 449.9 MB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.2601, allocations: 4 kB / 449.9 MB, free: 5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.2604, allocations: 152 kB / 450.1 MB, free: 4.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.2606, allocations: 11.98 kB / 450.1 MB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2617, allocations: 405.1 kB / 450.5 MB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.262, allocations: 0.6978 MB / 451.2 MB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.2623, allocations: 77.08 kB / 451.3 MB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.2624, allocations: 47.39 kB / 451.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2624, allocations: 0 / 451.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of Templates: time 0.2369/0.4993, allocations: 53.77 MB / 0.4932 GB, free: 27.74 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) Environment - environmentSimulation: