Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, 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.001175/0.001175, allocations: 194.1 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.391/1.391, allocations: 205.1 MB / 222 MB, free: 4.762 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.2923/0.2923, allocations: 39.93 MB / 309.3 MB, free: 9.645 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.001495/0.001495, allocations: 59.92 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1077, allocations: 56.89 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.002024/0.1098, allocations: 0.5635 MB / 434.4 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.1119, allocations: 1.442 MB / 435.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.447e-05/0.1119, allocations: 0 / 435.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.112, allocations: 0 / 435.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.766e-05/0.112, allocations: 3.938 kB / 435.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/0.1126, allocations: 151.7 kB / 436 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.583e-05/0.1126, allocations: 4 kB / 436 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.1127, allocations: 7.984 kB / 436 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.623e-05/0.1127, allocations: 3.984 kB / 436 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.1128, allocations: 7.938 kB / 436 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.1128, allocations: 0 / 436 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004657/0.1133, allocations: 271.6 kB / 436.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.1133, allocations: 0 / 436.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.1133, allocations: 0 / 436.3 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.1136, allocations: 151.6 kB / 436.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1136, allocations: 0 / 436.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1136, allocations: 0 / 436.4 MB, free: 1.785 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.1136, allocations: 3.938 kB / 436.4 MB, free: 1.781 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003468/0.1139, allocations: 331.6 kB / 436.7 MB, free: 1.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.114, allocations: 8.031 kB / 436.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.114, allocations: 4.844 kB / 436.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/0.1141, allocations: 172.4 kB / 436.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1141, allocations: 384 / 436.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.1141, allocations: 384 / 436.9 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.1143, allocations: 38 kB / 436.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.1143, allocations: 0 / 436.9 MB, free: 1.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1143, allocations: 8 kB / 437 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1143, allocations: 0 / 437 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.1143, allocations: 7.984 kB / 437 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.1147, allocations: 249.1 kB / 437.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.79e-05/0.1147, allocations: 18.58 kB / 437.2 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.1148, allocations: 12.95 kB / 437.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.1148, allocations: 0 / 437.2 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1148, allocations: 30.56 kB / 437.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.1148, allocations: 0 / 437.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.115, allocations: 37.73 kB / 437.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.115, allocations: 55.44 kB / 437.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.968e-05/0.1151, allocations: 105.8 kB / 437.5 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1151, allocations: 29.64 kB / 437.5 MB, free: 0.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.1151, allocations: 84.05 kB / 437.6 MB, free: 424 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.1152, allocations: 0 / 437.6 MB, free: 424 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.1152, allocations: 17.72 kB / 437.6 MB, free: 400 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.1153, allocations: 314.8 kB / 437.9 MB, free: 76 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.446e-05/0.1153, allocations: 12.12 kB / 437.9 MB, free: 64 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.1154, allocations: 18.56 kB / 437.9 MB, free: 36 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.582e-05/0.1154, allocations: 34.52 kB / 438 MB, free: 15.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1154, allocations: 0 / 438 MB, free: 15.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.705e-05/0.1155, allocations: 57.53 kB / 438 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1155, allocations: 8 kB / 438 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1155, allocations: 3.938 kB / 438 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1155, allocations: 0 / 438 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.1156, allocations: 4 kB / 438 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1156, allocations: 4 kB / 438 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.1156, allocations: 0 / 438 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.1157, allocations: 0 / 438 MB, free: 15.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.323e-05/0.1157, allocations: 113.8 kB / 438.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.1158, allocations: 4.094 kB / 438.1 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.1159, allocations: 48.75 kB / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1159, allocations: 0 / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1159, allocations: 0 / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1159, allocations: 0 / 438.2 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.116, allocations: 153.6 kB / 438.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1161, allocations: 0 / 438.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1161, allocations: 0 / 438.3 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1161, allocations: 4.031 kB / 438.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1161, allocations: 4 kB / 438.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1161, allocations: 0 / 438.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1161, allocations: 0 / 438.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.329e-05/0.1162, allocations: 139.4 kB / 438.5 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.1162, allocations: 77.11 kB / 438.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.1162, allocations: 0 / 438.6 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.1163, allocations: 4.031 kB / 438.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.553e-05/0.1163, allocations: 4 kB / 438.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.1163, allocations: 4 kB / 438.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.1164, allocations: 83.27 kB / 438.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1164, allocations: 0 / 438.7 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.1167, allocations: 40 kB / 438.7 MB, free: 15.14 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002871/0.117, allocations: 143.1 kB / 438.8 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.915e-05/0.1171, allocations: 16.03 kB / 438.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1171, allocations: 4 kB / 438.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.1171, allocations: 29.64 kB / 438.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.1173, allocations: 7.938 kB / 438.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.1176, allocations: 90.69 kB / 439 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.1178, allocations: 0.677 MB / 439.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.1178, allocations: 8.328 kB / 439.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.229e-05/0.1179, allocations: 7.438 kB / 439.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1179, allocations: 4 kB / 439.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of Templates: time 0.00317/0.121, allocations: 1.046 MB / 440.7 MB, free: 13.05 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1)