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.001148/0.001148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001313/0.001313, allocations: 192 kB / 16.13 MB, free: 6.699 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.466/1.466, allocations: 205.1 MB / 222 MB, free: 4.973 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.3659/0.3659, allocations: 37.98 MB / 307.3 MB, free: 9.863 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.00143/0.00143, allocations: 66.41 kB / 374.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1349, allocations: 56.47 MB / 431 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001985/0.1369, allocations: 0.5947 MB / 431.6 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009103/0.1378, allocations: 440.4 kB / 432 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.1379, allocations: 0 / 432 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.1379, allocations: 0 / 432 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.814e-05/0.138, allocations: 0 / 432 MB, free: 6.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.1384, allocations: 107.8 kB / 432.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.874e-05/0.1385, allocations: 31.91 kB / 432.2 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.226e-05/0.1385, allocations: 4 kB / 432.2 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.1385, allocations: 15.94 kB / 432.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.1386, allocations: 19.91 kB / 432.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1386, allocations: 0 / 432.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002679/0.1389, allocations: 167.7 kB / 432.4 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.1389, allocations: 4 kB / 432.4 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.139, allocations: 19.81 kB / 432.4 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1392, allocations: 132 kB / 432.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1392, allocations: 0 / 432.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1392, allocations: 0 / 432.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.1392, allocations: 0 / 432.5 MB, free: 5.559 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.0004569/0.1397, allocations: 367.4 kB / 432.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1397, allocations: 8.031 kB / 432.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.1398, allocations: 4.938 kB / 432.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1399, allocations: 172.2 kB / 433.1 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1399, allocations: 4.375 kB / 433.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.14, allocations: 16.28 kB / 433.1 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.1401, allocations: 58.23 kB / 433.1 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1401, allocations: 7.938 kB / 433.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1402, allocations: 7.938 kB / 433.2 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1402, allocations: 0 / 433.2 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.647e-05/0.1403, allocations: 43.95 kB / 433.2 MB, free: 4.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.1405, allocations: 173.7 kB / 433.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1407, allocations: 94.53 kB / 433.5 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.966e-05/0.1408, allocations: 33.08 kB / 433.5 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003132/0.1411, allocations: 105.1 kB / 433.6 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1412, allocations: 34.56 kB / 433.6 MB, free: 4.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.1412, allocations: 0 / 433.6 MB, free: 4.273 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.1334/0.2746, allocations: 5.621 MB / 439.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2747, allocations: 55.41 kB / 439.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.2747, allocations: 89.86 kB / 439.4 MB, free: 14.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.2748, allocations: 37.64 kB / 439.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.2748, allocations: 84.64 kB / 439.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-05/0.2749, allocations: 86.77 kB / 439.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.275, allocations: 57.67 kB / 439.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2751, allocations: 326.8 kB / 440 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.2755, allocations: 107.9 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.2758, allocations: 115.9 kB / 440.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.2772, allocations: 320.5 kB / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2773, allocations: 0 / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001215/0.2785, allocations: 361.6 kB / 440.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.2785, allocations: 7.438 kB / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.2785, allocations: 0 / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/0.2786, allocations: 4 kB / 440.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.279, allocations: 79.84 kB / 441 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.279, allocations: 4 kB / 441 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.2792, allocations: 27.97 kB / 441 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.2793, allocations: 19.92 kB / 441 MB, free: 12.81 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.0001465/0.2794, allocations: 125.8 kB / 441.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.2795, allocations: 7.906 kB / 441.1 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.2809, allocations: 425.8 kB / 441.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.2809, allocations: 4 kB / 441.6 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2809, allocations: 3.938 kB / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.281, allocations: 0 / 441.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.2831, allocations: 0.7843 MB / 442.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2831, allocations: 0 / 442.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.2834, allocations: 79.86 kB / 442.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2834, allocations: 0 / 442.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.2834, allocations: 15.98 kB / 442.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2834, allocations: 4 kB / 442.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2834, allocations: 0 / 442.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2845, allocations: 432.8 kB / 442.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.2846, allocations: 85.02 kB / 442.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.2846, allocations: 4 kB / 443 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.2848, allocations: 27.97 kB / 443 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.2849, allocations: 11.98 kB / 443 MB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.2849, allocations: 15.98 kB / 443 MB, free: 10.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.73e-05/0.2849, allocations: 83.28 kB / 443.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2849, allocations: 0 / 443.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002155/0.2871, allocations: 0.6327 MB / 443.7 MB, free: 9.969 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.003174/0.2903, allocations: 302.9 kB / 444 MB, free: 9.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007832/0.2911, allocations: 255.8 kB / 444.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2911, allocations: 0 / 444.3 MB, free: 9.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.2914, allocations: 135.9 kB / 444.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.2917, allocations: 8 kB / 444.4 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009418/0.2926, allocations: 368.9 kB / 444.8 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.2931, allocations: 0.6973 MB / 445.5 MB, free: 8.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.2934, allocations: 81.02 kB / 445.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.2936, allocations: 47.39 kB / 445.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2936, allocations: 0 / 445.6 MB, free: 8.031 MB / 382.1 MB Notification: Performance of Templates: time 0.2762/0.5698, allocations: 53.75 MB / 499.3 MB, free: 34.64 MB / 382.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)