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.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001141/0.001141, allocations: 198.5 kB / 16.14 MB, free: 6.703 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.356/1.356, allocations: 205.1 MB / 222 MB, free: 4.75 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.31/0.31, allocations: 39.93 MB / 309.3 MB, free: 9.336 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.001358/0.001358, allocations: 63.91 kB / 376.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1129, allocations: 56.89 MB / 433.8 MB, free: 4.133 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001822/0.1148, allocations: 0.5869 MB / 434.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008863/0.1157, allocations: 452.3 kB / 434.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/0.1157, allocations: 0 / 434.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.927e-05/0.1157, allocations: 0 / 434.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.366e-05/0.1158, allocations: 0 / 434.8 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004591/0.1162, allocations: 107.8 kB / 434.9 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.884e-05/0.1163, allocations: 19.98 kB / 435 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.813e-05/0.1164, allocations: 4 kB / 435 MB, free: 2.969 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.193e-05/0.1164, allocations: 23.92 kB / 435 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.1165, allocations: 23.91 kB / 435 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1165, allocations: 0 / 435 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.1167, allocations: 159.8 kB / 435.2 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.1168, allocations: 11.94 kB / 435.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1168, allocations: 11.92 kB / 435.2 MB, free: 2.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.117, allocations: 128 kB / 435.3 MB, free: 2.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.117, allocations: 3.984 kB / 435.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.117, allocations: 0 / 435.3 MB, free: 2.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.117, allocations: 0 / 435.3 MB, free: 2.613 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.0005005/0.1175, allocations: 371.4 kB / 435.7 MB, free: 2.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.1176, allocations: 8.031 kB / 435.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.1177, allocations: 8.844 kB / 435.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1178, allocations: 168.3 kB / 435.9 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1178, allocations: 8.375 kB / 435.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.1179, allocations: 4.375 kB / 435.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.1181, allocations: 62.23 kB / 435.9 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1181, allocations: 15.91 kB / 436 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1181, allocations: 0 / 436 MB, free: 1.891 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1181, allocations: 4 kB / 436 MB, free: 1.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.1183, allocations: 43.95 kB / 436 MB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.1185, allocations: 185.5 kB / 436.2 MB, free: 1.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1187, allocations: 86.48 kB / 436.3 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.086e-05/0.1188, allocations: 24.84 kB / 436.3 MB, free: 1.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000321/0.1191, allocations: 101.1 kB / 436.4 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1192, allocations: 38.56 kB / 436.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.807e-06/0.1192, allocations: 0 / 436.4 MB, free: 1.328 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.1322/0.2515, allocations: 5.624 MB / 442 MB, free: 11.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.946e-05/0.2516, allocations: 55.41 kB / 442.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2518, allocations: 101.8 kB / 442.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.2518, allocations: 29.69 kB / 442.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.2519, allocations: 80.52 kB / 442.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001396/0.252, allocations: 78.84 kB / 442.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.2522, allocations: 57.67 kB / 442.4 MB, free: 11.23 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.2524, allocations: 334.8 kB / 442.8 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.2527, allocations: 107.9 kB / 442.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.2531, allocations: 115.8 kB / 443 MB, free: 10.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.2544, allocations: 320.6 kB / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2544, allocations: 0 / 443.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00119/0.2556, allocations: 357.8 kB / 443.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.2557, allocations: 4 kB / 443.7 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.2557, allocations: 4 kB / 443.7 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2557, allocations: 7.938 kB / 443.7 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.2561, allocations: 71.92 kB / 443.7 MB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2561, allocations: 4 kB / 443.7 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.2563, allocations: 27.95 kB / 443.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.2564, allocations: 23.86 kB / 443.8 MB, free: 9.867 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.0001446/0.2565, allocations: 129.7 kB / 443.9 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.2566, allocations: 7.906 kB / 443.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.258, allocations: 433.9 kB / 444.4 MB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.258, allocations: 4 kB / 444.4 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.258, allocations: 0 / 444.4 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.258, allocations: 0 / 444.4 MB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.2601, allocations: 0.7805 MB / 445.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2601, allocations: 3.938 kB / 445.1 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.2604, allocations: 72 kB / 445.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2604, allocations: 0 / 445.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.2605, allocations: 15.98 kB / 445.2 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2605, allocations: 4 kB / 445.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2605, allocations: 0 / 445.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.2616, allocations: 428.7 kB / 445.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.2616, allocations: 89.02 kB / 445.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.2617, allocations: 0 / 445.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2619, allocations: 35.95 kB / 445.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.2619, allocations: 11.98 kB / 445.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.2619, allocations: 15.98 kB / 445.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.995e-05/0.262, allocations: 79.28 kB / 445.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.262, allocations: 0 / 445.9 MB, free: 7.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001696/0.2637, allocations: 0.6327 MB / 446.5 MB, free: 7.027 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.003063/0.2667, allocations: 303 kB / 446.8 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007622/0.2675, allocations: 255.7 kB / 447.1 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2675, allocations: 3.938 kB / 447.1 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.2679, allocations: 127.8 kB / 447.2 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002516/0.2681, allocations: 8 kB / 447.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009067/0.269, allocations: 369.2 kB / 447.5 MB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2693, allocations: 0.7011 MB / 448.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.2696, allocations: 77.08 kB / 448.3 MB, free: 5.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.2697, allocations: 47.39 kB / 448.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2697, allocations: 0 / 448.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of Templates: time 0.2503/0.5201, allocations: 53.73 MB / 0.4903 GB, free: 31.63 MB / 382.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)