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.007349/0.007349, allocations: 102 kB / 15.73 MB, free: 6.039 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.001519/0.001519, allocations: 194.5 kB / 16.67 MB, free: 5.961 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.317/1.317, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1873/0.1873, allocations: 39.97 MB / 309.9 MB, free: 4.004 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.001416/0.001416, allocations: 73.62 kB / 435.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1216, allocations: 56.87 MB / 492.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001719/0.1233, allocations: 0.5397 MB / 493.2 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007607/0.1241, allocations: 407.1 kB / 493.6 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.423e-05/0.1242, allocations: 4 kB / 493.6 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.1242, allocations: 3.938 kB / 493.6 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.454e-05/0.1243, allocations: 0 / 493.6 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.1248, allocations: 143.5 kB / 493.7 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.1249, allocations: 27.92 kB / 493.8 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.1249, allocations: 7.984 kB / 493.8 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.061e-05/0.1249, allocations: 19.92 kB / 493.8 MB, free: 1.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.125, allocations: 19.92 kB / 493.8 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.125, allocations: 4 kB / 493.8 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002885/0.1253, allocations: 159.8 kB / 494 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.1253, allocations: 7.984 kB / 494 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.1254, allocations: 23.86 kB / 494 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.1256, allocations: 123.8 kB / 494.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1256, allocations: 0 / 494.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1256, allocations: 0 / 494.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1256, allocations: 3.984 kB / 494.1 MB, free: 1.309 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.0004121/0.126, allocations: 371.4 kB / 494.5 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1261, allocations: 11.89 kB / 494.5 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.726e-05/0.1261, allocations: 8.844 kB / 494.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1262, allocations: 160.4 kB / 494.7 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.1263, allocations: 12.31 kB / 494.7 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1263, allocations: 8.312 kB / 494.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1265, allocations: 70.23 kB / 494.7 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1265, allocations: 11.92 kB / 494.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1265, allocations: 3.984 kB / 494.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1265, allocations: 4 kB / 494.8 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.668e-05/0.1266, allocations: 51.89 kB / 494.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.1268, allocations: 173.5 kB / 495 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.1269, allocations: 86.48 kB / 495.1 MB, free: 212 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.127, allocations: 24.84 kB / 495.1 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002545/0.1273, allocations: 105.1 kB / 495.2 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1273, allocations: 38.56 kB / 495.2 MB, free: 12 kB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.1273, allocations: 0 / 495.2 MB, free: 12 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.1304/0.2577, allocations: 5.624 MB / 0.4891 GB, free: 10.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.2578, allocations: 51.41 kB / 0.4892 GB, free: 10.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.2579, allocations: 97.86 kB / 0.4893 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.258, allocations: 29.69 kB / 0.4893 GB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.258, allocations: 80.52 kB / 0.4894 GB, free: 10.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.2581, allocations: 78.84 kB / 0.4894 GB, free: 9.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2582, allocations: 57.67 kB / 0.4895 GB, free: 9.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2584, allocations: 326.9 kB / 0.4898 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.2587, allocations: 111.9 kB / 0.4899 GB, free: 9.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.2591, allocations: 111.9 kB / 0.49 GB, free: 9.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.2604, allocations: 328.4 kB / 0.4903 GB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2604, allocations: 0 / 0.4903 GB, free: 9.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001162/0.2616, allocations: 361.6 kB / 0.4907 GB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.2616, allocations: 4 kB / 0.4907 GB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2617, allocations: 4 kB / 0.4907 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.2617, allocations: 4 kB / 0.4907 GB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.2621, allocations: 79.86 kB / 0.4908 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2621, allocations: 0 / 0.4908 GB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.2623, allocations: 31.95 kB / 0.4908 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.383e-05/0.2623, allocations: 19.92 kB / 0.4908 GB, free: 8.551 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.0001218/0.2625, allocations: 125.8 kB / 0.4909 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.2625, allocations: 7.906 kB / 0.4909 GB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.2639, allocations: 433.7 kB / 0.4914 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2639, allocations: 4 kB / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.264, allocations: 0 / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.264, allocations: 0 / 0.4914 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.2663, allocations: 0.7728 MB / 0.4921 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2663, allocations: 3.938 kB / 0.4921 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.2666, allocations: 75.88 kB / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.2666, allocations: 0 / 0.4922 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.2666, allocations: 19.92 kB / 0.4922 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2667, allocations: 8.062 kB / 0.4922 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2667, allocations: 0 / 0.4922 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2678, allocations: 432.6 kB / 0.4926 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.846e-05/0.2678, allocations: 85.02 kB / 0.4927 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.2679, allocations: 0 / 0.4927 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.2681, allocations: 31.95 kB / 0.4927 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.822e-05/0.2681, allocations: 19.98 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.2681, allocations: 11.98 kB / 0.4928 GB, free: 6.414 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.778e-05/0.2682, allocations: 79.22 kB / 0.4928 GB, free: 6.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2682, allocations: 4 kB / 0.4929 GB, free: 6.332 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001875/0.2701, allocations: 0.6288 MB / 0.4935 GB, free: 5.703 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.002988/0.2731, allocations: 291 kB / 0.4937 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009098/0.274, allocations: 260.3 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.274, allocations: 0 / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003609/0.2744, allocations: 132 kB / 0.4941 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.2747, allocations: 12 kB / 0.4941 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2757, allocations: 335.2 kB / 0.4944 GB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.2761, allocations: 0.7008 MB / 0.4951 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.2764, allocations: 77.08 kB / 0.4952 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.2765, allocations: 43.39 kB / 0.4952 GB, free: 3.805 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2765, allocations: 0 / 0.4952 GB, free: 3.805 MB / 382.1 MB Notification: Performance of Templates: time 0.3732/0.6497, allocations: 53.94 MB / 0.5479 GB, free: 10.02 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile (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)