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.001388/0.001388, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.429/1.429, allocations: 205.1 MB / 222.4 MB, free: 4.586 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.3105/0.3105, allocations: 39.94 MB / 309.7 MB, free: 9.238 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.001434/0.001434, allocations: 82.38 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09788/0.09932, allocations: 56.88 MB / 434.5 MB, free: 3.676 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001622/0.101, allocations: 0.4987 MB / 435 MB, free: 3.176 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002777/0.1013, allocations: 99.67 kB / 435.1 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.1013, allocations: 4 kB / 435.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.1013, allocations: 0 / 435.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.067e-05/0.1014, allocations: 0 / 435.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.1016, allocations: 15.91 kB / 435.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.1016, allocations: 19.92 kB / 435.1 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.194e-05/0.1017, allocations: 0 / 435.1 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.518e-05/0.1017, allocations: 7.984 kB / 435.1 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.1018, allocations: 11.94 kB / 435.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1018, allocations: 0 / 435.2 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.016e-05/0.1019, allocations: 31.97 kB / 435.2 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.1019, allocations: 7.984 kB / 435.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.826e-05/0.1019, allocations: 0 / 435.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.368e-05/0.102, allocations: 31.89 kB / 435.2 MB, free: 2.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.102, allocations: 4 kB / 435.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.102, allocations: 0 / 435.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.102, allocations: 0 / 435.2 MB, free: 2.945 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.0003324/0.1024, allocations: 327.5 kB / 435.5 MB, free: 2.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1024, allocations: 15.89 kB / 435.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1025, allocations: 0.9375 kB / 435.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1026, allocations: 168.6 kB / 435.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1026, allocations: 4.375 kB / 435.7 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.1026, allocations: 4.375 kB / 435.7 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.1027, allocations: 59.91 kB / 435.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1027, allocations: 192 / 435.8 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.1027, allocations: 3.938 kB / 435.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1028, allocations: 0 / 435.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.892e-05/0.1028, allocations: 15.98 kB / 435.8 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.1031, allocations: 329 kB / 436.1 MB, free: 1.883 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.1032, allocations: 22.52 kB / 436.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.1032, allocations: 20.94 kB / 436.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.1032, allocations: 0 / 436.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.1033, allocations: 30.56 kB / 436.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1033, allocations: 4 kB / 436.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001554/0.1034, allocations: 61.53 kB / 436.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.1035, allocations: 51.41 kB / 436.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.1035, allocations: 93.86 kB / 436.4 MB, free: 1.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.1036, allocations: 25.7 kB / 436.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.1036, allocations: 84.14 kB / 436.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.1036, allocations: 15.8 kB / 436.5 MB, free: 1.422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.1037, allocations: 17.84 kB / 436.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.73e-05/0.1038, allocations: 314.8 kB / 436.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.1038, allocations: 15.92 kB / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.1038, allocations: 13.72 kB / 436.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.213e-05/0.1039, allocations: 37.83 kB / 436.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1039, allocations: 0 / 436.9 MB, free: 1.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.609e-05/0.104, allocations: 53.62 kB / 437 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.104, allocations: 12.03 kB / 437 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.104, allocations: 0 / 437 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.104, allocations: 3.984 kB / 437 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.935e-05/0.1041, allocations: 11.94 kB / 437 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1041, allocations: 3.984 kB / 437 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.37e-05/0.1041, allocations: 7.938 kB / 437 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1041, allocations: 4 kB / 437 MB, free: 0.9023 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.761e-05/0.1042, allocations: 109.8 kB / 437.1 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1042, allocations: 3.906 kB / 437.1 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1044, allocations: 65.19 kB / 437.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.1044, allocations: 3.984 kB / 437.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1044, allocations: 0 / 437.2 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.1044, allocations: 7.938 kB / 437.2 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1045, allocations: 157.8 kB / 437.4 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1045, allocations: 4 kB / 437.4 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.1046, allocations: 11.94 kB / 437.4 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1046, allocations: 0 / 437.4 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.1046, allocations: 0 / 437.4 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1046, allocations: 0 / 437.4 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1046, allocations: 4 kB / 437.4 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.1048, allocations: 151.5 kB / 437.5 MB, free: 316 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.1048, allocations: 81.11 kB / 437.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.1048, allocations: 0 / 437.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.674e-05/0.1049, allocations: 0 / 437.6 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.1049, allocations: 7.984 kB / 437.6 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.1049, allocations: 0 / 437.6 MB, free: 208 kB / 366.1 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.1049, allocations: 87.22 kB / 437.7 MB, free: 120 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.105, allocations: 0 / 437.7 MB, free: 120 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1052, allocations: 8 kB / 437.7 MB, free: 112 kB / 366.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.0001296/0.1054, allocations: 103.2 kB / 437.8 MB, free: 0 / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.1055, allocations: 27.98 kB / 437.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1055, allocations: 0 / 437.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.1056, allocations: 11.94 kB / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.106, allocations: 11.94 kB / 437.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.1063, allocations: 117 kB / 438 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1066, allocations: 0.6768 MB / 438.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.463e-05/0.1066, allocations: 3.938 kB / 438.7 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.1067, allocations: 19.42 kB / 438.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1067, allocations: 0 / 438.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of Templates: time 0.003474/0.1102, allocations: 458.3 kB / 439.1 MB, free: 14.64 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (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)