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.001085/0.001085, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001393/0.001393, allocations: 172.7 kB / 15.95 MB, free: 208 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.508/1.508, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.3361/0.3361, allocations: 40 MB / 310.4 MB, free: 9.637 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.0005164/0.0005164, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1142, allocations: 57.97 MB / 436.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006803/0.1149, allocations: 258.1 kB / 437.1 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007513/0.1157, allocations: 388.8 kB / 437.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.243e-05/0.1158, allocations: 0 / 437.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.1158, allocations: 3.938 kB / 437.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.302e-05/0.1158, allocations: 0 / 437.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.1163, allocations: 111.8 kB / 437.5 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.639e-05/0.1164, allocations: 23.97 kB / 437.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1165, allocations: 4 kB / 437.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.1165, allocations: 15.92 kB / 437.6 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.1166, allocations: 23.91 kB / 437.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1166, allocations: 4 kB / 437.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.1168, allocations: 139.8 kB / 437.8 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.1169, allocations: 15.97 kB / 437.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.1169, allocations: 29.7 kB / 437.8 MB, free: 1.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1171, allocations: 84.16 kB / 437.9 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1171, allocations: 4 kB / 437.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.1171, allocations: 0 / 437.9 MB, free: 1.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1171, allocations: 3.938 kB / 437.9 MB, free: 1.168 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.000458/0.1176, allocations: 351.3 kB / 438.2 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1176, allocations: 12.03 kB / 438.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1177, allocations: 11.84 kB / 438.3 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1179, allocations: 167 kB / 438.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.1179, allocations: 0 / 438.4 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.264e-05/0.118, allocations: 8 kB / 438.4 MB, free: 0.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1181, allocations: 65.61 kB / 438.5 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1181, allocations: 4 kB / 438.5 MB, free: 480 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1182, allocations: 7.984 kB / 438.5 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1182, allocations: 0 / 438.5 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.771e-05/0.1183, allocations: 43.91 kB / 438.5 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.1184, allocations: 177.5 kB / 438.7 MB, free: 200 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1186, allocations: 82.55 kB / 438.8 MB, free: 108 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.1186, allocations: 32.84 kB / 438.8 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003071/0.1189, allocations: 105.1 kB / 438.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.119, allocations: 38.56 kB / 439 MB, free: 15.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.119, allocations: 0 / 439 MB, free: 15.9 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.1087/0.2277, allocations: 5.839 MB / 444.8 MB, free: 10.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2277, allocations: 59.34 kB / 444.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.2278, allocations: 93.84 kB / 445 MB, free: 9.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.2278, allocations: 29.7 kB / 445 MB, free: 9.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.139e-05/0.2279, allocations: 80.52 kB / 445.1 MB, free: 9.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.228, allocations: 78.97 kB / 445.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.228, allocations: 8 kB / 445.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.2281, allocations: 318.8 kB / 445.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.2284, allocations: 135.9 kB / 445.6 MB, free: 9.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.2288, allocations: 139.8 kB / 445.7 MB, free: 9.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000657/0.2294, allocations: 179.9 kB / 445.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.2294, allocations: 0 / 445.9 MB, free: 8.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001119/0.2306, allocations: 405.7 kB / 446.3 MB, free: 8.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2306, allocations: 8 kB / 446.3 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2306, allocations: 7.891 kB / 446.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.2306, allocations: 0 / 446.3 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.231, allocations: 91.92 kB / 446.4 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.231, allocations: 4 kB / 446.4 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2312, allocations: 35.95 kB / 446.4 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.2312, allocations: 19.98 kB / 446.5 MB, free: 8.316 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.0001117/0.2314, allocations: 125.8 kB / 446.6 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.2314, allocations: 11.89 kB / 446.6 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.2328, allocations: 477.9 kB / 447.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2328, allocations: 3.953 kB / 447.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2328, allocations: 0 / 447.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2328, allocations: 0 / 447.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.2349, allocations: 0.8775 MB / 448 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2349, allocations: 0 / 448 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.2352, allocations: 88 kB / 448 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2352, allocations: 0 / 448 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.2352, allocations: 11.98 kB / 448 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.2352, allocations: 7.938 kB / 448.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2352, allocations: 0 / 448.1 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.2363, allocations: 476.7 kB / 448.5 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/0.2364, allocations: 85.02 kB / 448.6 MB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.2364, allocations: 4 kB / 448.6 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2366, allocations: 47.95 kB / 448.7 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.2366, allocations: 11.98 kB / 448.7 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.2366, allocations: 19.98 kB / 448.7 MB, free: 5.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.023e-05/0.2367, allocations: 75.28 kB / 448.8 MB, free: 5.902 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2367, allocations: 0 / 448.8 MB, free: 5.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001678/0.2384, allocations: 0.6249 MB / 449.4 MB, free: 5.277 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.002759/0.2411, allocations: 311 kB / 449.7 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.2419, allocations: 299.7 kB / 450 MB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2419, allocations: 4 kB / 450 MB, free: 4.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.2423, allocations: 155.9 kB / 450.1 MB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.2425, allocations: 8 kB / 450.1 MB, free: 4.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.2434, allocations: 401.1 kB / 450.5 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.2437, allocations: 0.6973 MB / 451.2 MB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.244, allocations: 77.08 kB / 451.3 MB, free: 3.281 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.2441, allocations: 43.39 kB / 451.4 MB, free: 3.238 MB / 382.1 MB Notification: Performance of SimCode: time 1.773e-06/0.2442, allocations: 4 kB / 451.4 MB, free: 3.234 MB / 382.1 MB Notification: Performance of Templates: time 0.244/0.4881, allocations: 53.79 MB / 0.4933 GB, free: 28.18 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: