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.0009853/0.0009856, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00631/0.00631, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.414/1.414, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.3292/0.3292, allocations: 40 MB / 310.7 MB, free: 9.559 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.0005153/0.0005153, allocations: 15.98 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1165, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.000694/0.1172, allocations: 246 kB / 437.6 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003573/0.1176, allocations: 95.77 kB / 437.7 MB, free: 1.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.1177, allocations: 3.938 kB / 437.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.53e-05/0.1177, allocations: 0 / 437.7 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.864e-05/0.1177, allocations: 7.938 kB / 437.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.118, allocations: 15.92 kB / 437.8 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.265e-05/0.118, allocations: 8 kB / 437.8 MB, free: 1.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.1181, allocations: 7.984 kB / 437.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.1181, allocations: 4 kB / 437.8 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.657e-05/0.1182, allocations: 7.938 kB / 437.8 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1182, allocations: 0 / 437.8 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.1183, allocations: 31.95 kB / 437.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.1183, allocations: 4 kB / 437.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.796e-05/0.1184, allocations: 33.64 kB / 437.9 MB, free: 1.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.1185, allocations: 31.95 kB / 437.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1185, allocations: 0 / 437.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1185, allocations: 0 / 437.9 MB, free: 1.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1185, allocations: 0 / 437.9 MB, free: 1.418 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.0003912/0.1189, allocations: 327.5 kB / 438.2 MB, free: 1.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1189, allocations: 8.031 kB / 438.2 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.119, allocations: 4.938 kB / 438.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1191, allocations: 164.6 kB / 438.4 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1192, allocations: 8.312 kB / 438.4 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1192, allocations: 4.375 kB / 438.4 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1193, allocations: 55.91 kB / 438.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1194, allocations: 192 / 438.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.1194, allocations: 7.938 kB / 438.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1194, allocations: 0 / 438.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.1194, allocations: 15.98 kB / 438.5 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.1198, allocations: 321.1 kB / 438.8 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.207e-05/0.1199, allocations: 38.55 kB / 438.8 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.995e-05/0.12, allocations: 8.859 kB / 438.8 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.12, allocations: 0 / 438.8 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.12, allocations: 38.56 kB / 438.9 MB, free: 268 kB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.12, allocations: 0 / 438.9 MB, free: 268 kB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001983/0.1202, allocations: 53.72 kB / 438.9 MB, free: 208 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.1203, allocations: 55.41 kB / 439 MB, free: 140 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.1203, allocations: 105.8 kB / 439.1 MB, free: 24 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1204, allocations: 25.7 kB / 439.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.441e-05/0.1204, allocations: 80.14 kB / 439.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1205, allocations: 7.812 kB / 439.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.1205, allocations: 17.72 kB / 439.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1206, allocations: 310.8 kB / 439.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.1206, allocations: 12.11 kB / 439.5 MB, free: 15.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.1207, allocations: 17.72 kB / 439.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.466e-05/0.1207, allocations: 33.66 kB / 439.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1207, allocations: 3.938 kB / 439.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001034/0.1209, allocations: 57.8 kB / 439.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1209, allocations: 11.98 kB / 439.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1209, allocations: 0 / 439.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1209, allocations: 0 / 439.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.302e-05/0.121, allocations: 15.97 kB / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.121, allocations: 0 / 439.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.523e-05/0.121, allocations: 7.938 kB / 439.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.121, allocations: 4 kB / 439.7 MB, free: 15.39 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.963e-05/0.1211, allocations: 113.8 kB / 439.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.1212, allocations: 0 / 439.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001439/0.1213, allocations: 69.11 kB / 439.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1213, allocations: 0 / 439.9 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1213, allocations: 4 kB / 439.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1213, allocations: 4 kB / 439.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.1215, allocations: 165.5 kB / 440 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1215, allocations: 3.938 kB / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.1216, allocations: 8.188 kB / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1216, allocations: 0 / 440 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1216, allocations: 4 kB / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1216, allocations: 0 / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1216, allocations: 0 / 440 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1217, allocations: 159.5 kB / 440.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.1218, allocations: 77.11 kB / 440.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.21e-05/0.1218, allocations: 0 / 440.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.1219, allocations: 0 / 440.3 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.1219, allocations: 7.984 kB / 440.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1219, allocations: 0 / 440.3 MB, free: 14.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.572e-05/0.1219, allocations: 79.28 kB / 440.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.713e-06/0.122, allocations: 4 kB / 440.4 MB, free: 14.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002177/0.1222, allocations: 7.938 kB / 440.4 MB, free: 14.59 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 (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.0001179/0.1223, allocations: 103.3 kB / 440.5 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.076e-05/0.1224, allocations: 23.98 kB / 440.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1224, allocations: 0 / 440.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-05/0.1224, allocations: 15.94 kB / 440.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.1227, allocations: 11.94 kB / 440.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.1229, allocations: 118.6 kB / 440.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.1232, allocations: 0.6771 MB / 441.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.48e-05/0.1232, allocations: 7.984 kB / 441.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.1232, allocations: 7.438 kB / 441.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1232, allocations: 0 / 441.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of Templates: time 0.00257/0.1258, allocations: 426 kB / 441.7 MB, free: 13.16 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: