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.001013/0.001014, allocations: 97.64 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.0068/0.006801, allocations: 170.2 kB / 16.27 MB, free: 6.66 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.36/1.36, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.2957/0.2957, allocations: 38.03 MB / 308.8 MB, free: 10.21 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.0005669/0.0005669, allocations: 23.98 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1237, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006741/0.1244, allocations: 281.8 kB / 434.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.1252, allocations: 420.5 kB / 435.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.1253, allocations: 0 / 435.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.1253, allocations: 0 / 435.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.27e-05/0.1253, allocations: 0 / 435.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.1258, allocations: 111.8 kB / 435.4 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.1258, allocations: 27.92 kB / 435.4 MB, free: 4.383 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.1259, allocations: 4 kB / 435.4 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.1259, allocations: 11.92 kB / 435.4 MB, free: 4.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.126, allocations: 19.92 kB / 435.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.126, allocations: 7.938 kB / 435.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.1262, allocations: 163.8 kB / 435.6 MB, free: 4.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.1263, allocations: 7.969 kB / 435.6 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.1263, allocations: 45.58 kB / 435.6 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.1265, allocations: 132 kB / 435.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1265, allocations: 0 / 435.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1266, allocations: 0 / 435.8 MB, free: 3.992 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1266, allocations: 0 / 435.8 MB, free: 3.992 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.0004926/0.1271, allocations: 355.4 kB / 436.1 MB, free: 3.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.1271, allocations: 8.031 kB / 436.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.1272, allocations: 4.938 kB / 436.1 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1273, allocations: 172.2 kB / 436.3 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.1273, allocations: 8.375 kB / 436.3 MB, free: 3.371 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.1274, allocations: 8.375 kB / 436.3 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001409/0.1275, allocations: 62.22 kB / 436.4 MB, free: 3.297 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1276, allocations: 15.84 kB / 436.4 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1276, allocations: 3.938 kB / 436.4 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1276, allocations: 0 / 436.4 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.606e-05/0.1277, allocations: 43.95 kB / 436.4 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.1279, allocations: 169.7 kB / 436.6 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.128, allocations: 86.48 kB / 436.7 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.317e-05/0.1281, allocations: 33.22 kB / 436.7 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.1284, allocations: 109.1 kB / 436.8 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.1284, allocations: 38.56 kB / 436.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1284, allocations: 0 / 436.9 MB, free: 2.719 MB / 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.1353/0.2637, allocations: 5.844 MB / 442.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.2638, allocations: 55.41 kB / 442.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.86e-05/0.2639, allocations: 89.86 kB / 442.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.2639, allocations: 37.64 kB / 442.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.2639, allocations: 84.64 kB / 443 MB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.752e-05/0.264, allocations: 78.83 kB / 443 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.2641, allocations: 25.66 kB / 443.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2642, allocations: 326.8 kB / 443.4 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.2646, allocations: 135.9 kB / 443.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.2649, allocations: 135.9 kB / 443.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.2663, allocations: 373 kB / 444 MB, free: 11.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2664, allocations: 0 / 444 MB, free: 11.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00117/0.2675, allocations: 405 kB / 444.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2676, allocations: 11.27 kB / 444.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.2676, allocations: 0 / 444.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2676, allocations: 4 kB / 444.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.268, allocations: 91.86 kB / 444.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.268, allocations: 0 / 444.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2682, allocations: 43.95 kB / 444.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.2683, allocations: 15.92 kB / 444.6 MB, free: 10.91 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 0.0001073/0.2684, allocations: 121.8 kB / 444.7 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.644e-05/0.2684, allocations: 11.84 kB / 444.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.2698, allocations: 477.8 kB / 445.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.2699, allocations: 4 kB / 445.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2699, allocations: 0 / 445.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2699, allocations: 0 / 445.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.2721, allocations: 0.8626 MB / 446 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.2721, allocations: 0 / 446 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.2724, allocations: 91.92 kB / 446.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2724, allocations: 0 / 446.1 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.546e-05/0.2725, allocations: 15.98 kB / 446.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2725, allocations: 4 kB / 446.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2725, allocations: 0 / 446.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.2737, allocations: 480.6 kB / 446.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.2737, allocations: 85.02 kB / 446.7 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.2738, allocations: 8 kB / 446.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.274, allocations: 39.97 kB / 446.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.274, allocations: 19.97 kB / 446.8 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.274, allocations: 8 kB / 446.8 MB, free: 8.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.893e-05/0.2741, allocations: 83.27 kB / 446.9 MB, free: 8.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2741, allocations: 4 kB / 446.9 MB, free: 8.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001693/0.2758, allocations: 0.6288 MB / 447.5 MB, free: 7.867 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.002805/0.2786, allocations: 314.8 kB / 447.8 MB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.2794, allocations: 300.4 kB / 448.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.2794, allocations: 0 / 448.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.2798, allocations: 159.9 kB / 448.3 MB, free: 7.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.28, allocations: 12 kB / 448.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2811, allocations: 421 kB / 448.7 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.2814, allocations: 0.6973 MB / 449.4 MB, free: 5.918 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002828/0.2817, allocations: 77.08 kB / 449.4 MB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2818, allocations: 47.39 kB / 449.5 MB, free: 5.797 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2818, allocations: 0 / 449.5 MB, free: 5.797 MB / 382.1 MB Notification: Performance of Templates: time 0.2607/0.5425, allocations: 53.84 MB / 0.4915 GB, free: 30.87 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: