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.001086/0.001086, allocations: 98.11 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.009504/0.009505, allocations: 169.4 kB / 16.26 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.406/1.406, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3212/0.3212, allocations: 40.01 MB / 310.7 MB, free: 9.543 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.0005085/0.0005085, allocations: 16 kB / 379.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1102, allocations: 57.96 MB / 437.4 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.0006451/0.1109, allocations: 266 kB / 437.7 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000778/0.1117, allocations: 432.5 kB / 438.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.587e-05/0.1117, allocations: 0 / 438.1 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.1117, allocations: 3.938 kB / 438.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.258e-05/0.1118, allocations: 0 / 438.1 MB, free: 1.242 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1122, allocations: 115.7 kB / 438.2 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.205e-05/0.1122, allocations: 27.97 kB / 438.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.1123, allocations: 0 / 438.2 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.1123, allocations: 19.92 kB / 438.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.1124, allocations: 15.94 kB / 438.3 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1124, allocations: 3.984 kB / 438.3 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.1126, allocations: 159.8 kB / 438.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.842e-05/0.1127, allocations: 11.98 kB / 438.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.029e-05/0.1127, allocations: 41.58 kB / 438.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.1129, allocations: 128 kB / 438.6 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1129, allocations: 4 kB / 438.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1129, allocations: 4 kB / 438.6 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1129, allocations: 0 / 438.6 MB, free: 0.7148 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.0004197/0.1133, allocations: 359.4 kB / 439 MB, free: 324 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1134, allocations: 8.031 kB / 439 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.1134, allocations: 8.844 kB / 439 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1135, allocations: 168.3 kB / 439.1 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1136, allocations: 4.375 kB / 439.1 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.1136, allocations: 12.36 kB / 439.2 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.1137, allocations: 62.23 kB / 439.2 MB, free: 16 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1137, allocations: 3.938 kB / 439.2 MB, free: 12 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.1137, allocations: 8 kB / 439.2 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.1138, allocations: 0 / 439.2 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.432e-05/0.1139, allocations: 39.95 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.114, allocations: 177.6 kB / 439.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.1142, allocations: 86.48 kB / 439.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.1142, allocations: 36.84 kB / 439.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002598/0.1145, allocations: 113 kB / 439.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.1145, allocations: 34.56 kB / 439.7 MB, free: 15.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.1145, allocations: 0 / 439.7 MB, free: 15.44 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.1451/0.2596, allocations: 5.838 MB / 445.5 MB, free: 9.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.2597, allocations: 59.41 kB / 445.6 MB, free: 9.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.2598, allocations: 89.86 kB / 445.7 MB, free: 9.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.087e-05/0.2598, allocations: 33.7 kB / 445.7 MB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.2599, allocations: 84.64 kB / 445.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.26, allocations: 74.84 kB / 445.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.26, allocations: 21.72 kB / 445.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2601, allocations: 326.8 kB / 446.2 MB, free: 8.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.2605, allocations: 135.8 kB / 446.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.2609, allocations: 143.8 kB / 446.5 MB, free: 8.566 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.2624, allocations: 369.2 kB / 446.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2624, allocations: 0 / 446.9 MB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001252/0.2637, allocations: 401 kB / 447.2 MB, free: 7.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.2637, allocations: 8 kB / 447.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.2637, allocations: 0 / 447.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2638, allocations: 0 / 447.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.2642, allocations: 103.8 kB / 447.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.2642, allocations: 7.984 kB / 447.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.2644, allocations: 39.97 kB / 447.4 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.2645, allocations: 15.92 kB / 447.4 MB, free: 7.633 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.0001179/0.2646, allocations: 121.8 kB / 447.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.2646, allocations: 7.906 kB / 447.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/0.2662, allocations: 477.8 kB / 448 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2662, allocations: 4 kB / 448 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2662, allocations: 0 / 448 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2662, allocations: 3.984 kB / 448 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.2686, allocations: 0.8742 MB / 448.9 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.2686, allocations: 0 / 448.9 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.2689, allocations: 95.92 kB / 449 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.2689, allocations: 0 / 449 MB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.269, allocations: 12 kB / 449 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.269, allocations: 3.984 kB / 449 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.269, allocations: 4 kB / 449 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.2702, allocations: 472.7 kB / 449.5 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.2702, allocations: 85.02 kB / 449.6 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.2703, allocations: 11.98 kB / 449.6 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.2705, allocations: 35.97 kB / 449.6 MB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.2705, allocations: 11.98 kB / 449.6 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.2706, allocations: 19.98 kB / 449.6 MB, free: 5.297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.104e-05/0.2706, allocations: 75.28 kB / 449.7 MB, free: 5.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2706, allocations: 4.094 kB / 449.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001734/0.2723, allocations: 0.6327 MB / 450.3 MB, free: 4.586 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.004095/0.2764, allocations: 315.6 kB / 450.6 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00133/0.2778, allocations: 300.3 kB / 450.9 MB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2778, allocations: 0 / 450.9 MB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.2784, allocations: 156 kB / 451.1 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.2787, allocations: 8 kB / 451.1 MB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.2801, allocations: 425 kB / 451.5 MB, free: 3.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2804, allocations: 0.6973 MB / 452.2 MB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004387/0.2809, allocations: 81.08 kB / 452.3 MB, free: 2.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.2811, allocations: 47.39 kB / 452.3 MB, free: 2.516 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2811, allocations: 0 / 452.3 MB, free: 2.516 MB / 382.1 MB Notification: Performance of Templates: time 0.2928/0.5739, allocations: 53.82 MB / 0.4943 GB, free: 27.14 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: