Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001517/0.001517, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3475/0.3475, allocations: 39.99 MB / 310.4 MB, free: 9.965 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.0005378/0.0005379, allocations: 12 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 57.95 MB / 436.8 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0006144/0.1168, allocations: 245.9 kB / 437 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002698/0.1171, allocations: 91.83 kB / 437.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.1171, allocations: 0 / 437.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.021e-05/0.1171, allocations: 0 / 437.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.093e-05/0.1172, allocations: 0 / 437.1 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.1173, allocations: 19.92 kB / 437.1 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.126e-05/0.1174, allocations: 8 kB / 437.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.1175, allocations: 0 / 437.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.857e-05/0.1175, allocations: 7.984 kB / 437.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.1176, allocations: 7.922 kB / 437.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1176, allocations: 4 kB / 437.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/0.1177, allocations: 27.97 kB / 437.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.1177, allocations: 7.984 kB / 437.2 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.1177, allocations: 29.7 kB / 437.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 6.471e-05/0.1178, allocations: 11.98 kB / 437.2 MB, free: 2.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1178, allocations: 0 / 437.2 MB, free: 2.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1178, allocations: 0 / 437.2 MB, free: 2.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1178, allocations: 4 kB / 437.2 MB, free: 2.117 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003316/0.1182, allocations: 323.3 kB / 437.6 MB, free: 1.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1182, allocations: 12.03 kB / 437.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1183, allocations: 0 / 437.6 MB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1184, allocations: 171.2 kB / 437.7 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.1184, allocations: 11.94 kB / 437.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.1184, allocations: 0 / 437.7 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1186, allocations: 51.41 kB / 437.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1186, allocations: 0 / 437.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1186, allocations: 0 / 437.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1186, allocations: 0 / 437.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.1187, allocations: 19.92 kB / 437.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.119, allocations: 325.1 kB / 438.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.119, allocations: 26.61 kB / 438.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.1191, allocations: 16.86 kB / 438.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1191, allocations: 0 / 438.2 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1191, allocations: 34.56 kB / 438.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.1191, allocations: 0 / 438.2 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001647/0.1193, allocations: 57.72 kB / 438.3 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.1194, allocations: 59.3 kB / 438.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.1194, allocations: 97.84 kB / 438.4 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.1195, allocations: 25.7 kB / 438.4 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.1195, allocations: 88.05 kB / 438.5 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.1195, allocations: 11.81 kB / 438.5 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-06/0.1195, allocations: 0 / 438.5 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1197, allocations: 319 kB / 438.9 MB, free: 288 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.1197, allocations: 7.984 kB / 438.9 MB, free: 280 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.791e-05/0.1197, allocations: 17.72 kB / 438.9 MB, free: 256 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.1198, allocations: 8 kB / 438.9 MB, free: 248 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1198, allocations: 0 / 438.9 MB, free: 248 kB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.098e-05/0.1199, allocations: 57.62 kB / 438.9 MB, free: 184 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1199, allocations: 4 kB / 439 MB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1199, allocations: 4.031 kB / 439 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1199, allocations: 0 / 439 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.12, allocations: 11.98 kB / 439 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.12, allocations: 0 / 439 MB, free: 164 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.698e-05/0.12, allocations: 19.77 kB / 439 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.12, allocations: 128 / 439 MB, free: 144 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.784e-05/0.1201, allocations: 117.8 kB / 439.1 MB, free: 16 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.1202, allocations: 4.234 kB / 439.1 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.1203, allocations: 61.19 kB / 439.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1203, allocations: 7.984 kB / 439.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1203, allocations: 0 / 439.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1203, allocations: 0 / 439.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1205, allocations: 165.5 kB / 439.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1205, allocations: 0 / 439.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.1206, allocations: 15.92 kB / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1206, allocations: 0 / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1206, allocations: 0 / 439.3 MB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1206, allocations: 4 kB / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1206, allocations: 0 / 439.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.1208, allocations: 151.5 kB / 439.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.1208, allocations: 77.11 kB / 439.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1208, allocations: 4 kB / 439.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.535e-05/0.1209, allocations: 4 kB / 439.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.1209, allocations: 3.984 kB / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.1209, allocations: 0 / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.165e-05/0.121, allocations: 79.28 kB / 439.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.121, allocations: 96 / 439.7 MB, free: 15.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000217/0.1212, allocations: 12 kB / 439.7 MB, free: 15.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001219/0.1213, allocations: 103.2 kB / 439.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.1214, allocations: 27.92 kB / 439.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1214, allocations: 0 / 439.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.749e-05/0.1215, allocations: 12 kB / 439.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.1217, allocations: 7.953 kB / 439.8 MB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002309/0.1219, allocations: 122.6 kB / 439.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1222, allocations: 0.677 MB / 440.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.1222, allocations: 8.25 kB / 440.6 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.1222, allocations: 7.438 kB / 440.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1222, allocations: 0 / 440.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of Templates: time 0.00237/0.1246, allocations: 421.4 kB / 441 MB, free: 13.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) Environment - environmentSimulation: