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.00628/0.00628, allocations: 106.2 kB / 15.74 MB, free: 6 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.001189/0.001189, allocations: 198.2 kB / 16.68 MB, free: 5.918 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.447/1.447, allocations: 205.1 MB / 222.6 MB, free: 4.352 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.306/0.306, allocations: 38 MB / 307.9 MB, free: 10.3 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.001626/0.001626, allocations: 75.89 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2957, allocations: 56.47 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001699/0.2974, allocations: 0.5391 MB / 490 MB, free: 19.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006773/0.2981, allocations: 411.6 kB / 490.4 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.188e-05/0.2982, allocations: 3.938 kB / 490.4 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.2982, allocations: 3.938 kB / 490.4 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.2982, allocations: 0 / 490.4 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005699/0.2988, allocations: 143.3 kB / 490.5 MB, free: 19.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.241e-05/0.2989, allocations: 31.27 kB / 490.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.832e-05/0.2989, allocations: 4.109 kB / 490.6 MB, free: 19.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.299, allocations: 16.5 kB / 490.6 MB, free: 19.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.299, allocations: 19.2 kB / 490.6 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.2991, allocations: 1.438 kB / 490.6 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.2994, allocations: 161.5 kB / 490.8 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.2994, allocations: 8.125 kB / 490.8 MB, free: 19.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.2994, allocations: 21.25 kB / 490.8 MB, free: 19.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2997, allocations: 132.2 kB / 490.9 MB, free: 19.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2997, allocations: 0.6562 kB / 490.9 MB, free: 19.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2997, allocations: 0 / 490.9 MB, free: 19.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2997, allocations: 1.062 kB / 490.9 MB, free: 19.21 MB / 382.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.0004059/0.3001, allocations: 361 kB / 491.3 MB, free: 18.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3002, allocations: 13.81 kB / 491.3 MB, free: 18.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.3002, allocations: 6.094 kB / 491.3 MB, free: 18.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.501e-05/0.3003, allocations: 168.4 kB / 491.5 MB, free: 18.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3004, allocations: 5.625 kB / 491.5 MB, free: 18.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.3004, allocations: 10.33 kB / 491.5 MB, free: 18.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.3005, allocations: 67.92 kB / 491.6 MB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3006, allocations: 10 kB / 491.6 MB, free: 18.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3006, allocations: 5.469 kB / 491.6 MB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3006, allocations: 4.688 kB / 491.6 MB, free: 18.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.301e-05/0.3007, allocations: 42.36 kB / 491.6 MB, free: 18.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.3009, allocations: 170.7 kB / 491.8 MB, free: 18.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.301, allocations: 87.97 kB / 491.9 MB, free: 18.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.3011, allocations: 30.77 kB / 491.9 MB, free: 18.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002675/0.3013, allocations: 100.9 kB / 492 MB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3014, allocations: 39.22 kB / 492 MB, free: 18.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.3014, allocations: 0.875 kB / 492 MB, free: 18.16 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.1297/0.4311, allocations: 5.621 MB / 497.7 MB, free: 17.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.4311, allocations: 54.16 kB / 497.7 MB, free: 17.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.4312, allocations: 95.59 kB / 497.8 MB, free: 17.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.4312, allocations: 35.61 kB / 497.8 MB, free: 17.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.4313, allocations: 84.45 kB / 497.9 MB, free: 17.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.4313, allocations: 71.8 kB / 498 MB, free: 16.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4314, allocations: 59.58 kB / 498 MB, free: 16.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.4315, allocations: 320.4 kB / 498.4 MB, free: 16.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.4318, allocations: 116.9 kB / 498.5 MB, free: 16.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.4322, allocations: 111.4 kB / 498.6 MB, free: 16.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.4335, allocations: 323.7 kB / 498.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4335, allocations: 0 / 498.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00112/0.4347, allocations: 362.6 kB / 499.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4347, allocations: 8.688 kB / 499.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4347, allocations: 4 kB / 499.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.4347, allocations: 1.188 kB / 499.3 MB, free: 16.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.4351, allocations: 79.42 kB / 499.3 MB, free: 16.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.4351, allocations: 13.27 kB / 499.4 MB, free: 16.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.4353, allocations: 20.94 kB / 499.4 MB, free: 16.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.4354, allocations: 21.52 kB / 499.4 MB, free: 16.12 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 8.794e-05/0.4355, allocations: 117.9 kB / 499.5 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.4355, allocations: 7.875 kB / 499.5 MB, free: 16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.4368, allocations: 426.7 kB / 499.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4368, allocations: 6.609 kB / 499.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4368, allocations: 5.438 kB / 499.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4369, allocations: 0 / 499.9 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.4389, allocations: 0.7792 MB / 0.489 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.4389, allocations: 5.469 kB / 0.489 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.4392, allocations: 75.69 kB / 0.4891 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.4392, allocations: 1.781 kB / 0.4891 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.4392, allocations: 13.05 kB / 0.4891 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4392, allocations: 0 / 0.4891 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4392, allocations: 1.875 kB / 0.4891 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.4403, allocations: 432.5 kB / 0.4895 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.4404, allocations: 88.7 kB / 0.4896 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4404, allocations: 5.25 kB / 0.4896 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.4406, allocations: 33.42 kB / 0.4896 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.4406, allocations: 15.64 kB / 0.4896 GB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.4407, allocations: 19.2 kB / 0.4897 GB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.029e-05/0.4407, allocations: 79.28 kB / 0.4897 GB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4407, allocations: 1.125 kB / 0.4897 GB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002425/0.4431, allocations: 0.6228 MB / 0.4903 GB, free: 14.62 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.004051/0.4472, allocations: 293.1 kB / 0.4906 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008117/0.448, allocations: 264.4 kB / 0.4909 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.448, allocations: 0 / 0.4909 GB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.4484, allocations: 131.8 kB / 0.491 GB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.4486, allocations: 18.19 kB / 0.491 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009351/0.4496, allocations: 338 kB / 0.4913 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.4497, allocations: 0.6922 MB / 0.492 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002268/0.45, allocations: 76.52 kB / 0.4921 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.4501, allocations: 49.58 kB / 0.4921 GB, free: 13.28 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4501, allocations: 0 / 0.4921 GB, free: 13.28 MB / 382.1 MB Notification: Performance of Templates: time 0.07871/0.5288, allocations: 53.89 MB / 0.5448 GB, free: 14.55 MB / 430.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)