Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008216/0.0008216, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004917/0.004917, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.3/1.3, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3112/0.3112, allocations: 38.03 MB / 308.8 MB, free: 10.34 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.1. 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.0005262/0.0005262, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1149, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.000579/0.1155, allocations: 234 kB / 434.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1172, allocations: 1.431 MB / 436.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.363e-05/0.1172, allocations: 0 / 436.2 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.042e-05/0.1173, allocations: 3.938 kB / 436.2 MB, free: 3.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.38e-05/0.1173, allocations: 4 kB / 436.2 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.1178, allocations: 159.7 kB / 436.4 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.704e-05/0.1178, allocations: 4 kB / 436.4 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.1179, allocations: 3.984 kB / 436.4 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.1179, allocations: 4 kB / 436.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.04e-05/0.1179, allocations: 8 kB / 436.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.118, allocations: 0 / 436.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.1183, allocations: 267.6 kB / 436.7 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.808e-06/0.1184, allocations: 0 / 436.7 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.1184, allocations: 33.64 kB / 436.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.1186, allocations: 147.7 kB / 436.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1186, allocations: 0 / 436.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1186, allocations: 0 / 436.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1186, allocations: 0 / 436.8 MB, free: 2.895 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003231/0.119, allocations: 327.6 kB / 437.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.119, allocations: 8.031 kB / 437.2 MB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.119, allocations: 8.938 kB / 437.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1191, allocations: 160.7 kB / 437.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1192, allocations: 384 / 437.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.1192, allocations: 4.375 kB / 437.3 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.971e-05/0.1193, allocations: 45.94 kB / 437.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.1193, allocations: 0 / 437.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.1193, allocations: 0 / 437.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1193, allocations: 0 / 437.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.929e-05/0.1193, allocations: 4 kB / 437.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.1195, allocations: 145.7 kB / 437.5 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.792e-05/0.1195, allocations: 22.61 kB / 437.6 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.351e-05/0.1195, allocations: 12.8 kB / 437.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.1196, allocations: 0 / 437.6 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1196, allocations: 42.5 kB / 437.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 6.71e-07/0.1196, allocations: 0 / 437.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001389/0.1197, allocations: 33.61 kB / 437.6 MB, free: 1.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1198, allocations: 55.41 kB / 437.7 MB, free: 1.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.351e-05/0.1199, allocations: 102 kB / 437.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1199, allocations: 29.64 kB / 437.8 MB, free: 1.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.88e-05/0.1199, allocations: 80.14 kB / 437.9 MB, free: 1.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1199, allocations: 7.938 kB / 437.9 MB, free: 1.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.12, allocations: 9.719 kB / 437.9 MB, free: 1.613 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.1201, allocations: 310.8 kB / 438.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-06/0.1201, allocations: 0 / 438.2 MB, free: 1.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.1201, allocations: 4 kB / 438.2 MB, free: 1.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.601e-05/0.1201, allocations: 20.98 kB / 438.2 MB, free: 1.273 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1201, allocations: 3.984 kB / 438.2 MB, free: 1.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.891e-05/0.1202, allocations: 29.7 kB / 438.3 MB, free: 1.234 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1202, allocations: 7.938 kB / 438.3 MB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1202, allocations: 4 kB / 438.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.1203, allocations: 0 / 438.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.1203, allocations: 0 / 438.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1203, allocations: 0 / 438.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.1203, allocations: 0 / 438.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1204, allocations: 4 kB / 438.3 MB, free: 1.219 MB / 366.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 (1): * Single equations (assignments): 1 * 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 7.853e-05/0.1204, allocations: 113.9 kB / 438.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-06/0.1205, allocations: 3.938 kB / 438.4 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.1206, allocations: 44.77 kB / 438.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1206, allocations: 0 / 438.5 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1206, allocations: 4 kB / 438.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1206, allocations: 0 / 438.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.291e-05/0.1207, allocations: 153.7 kB / 438.6 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.1207, allocations: 4 kB / 438.6 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1207, allocations: 0 / 438.6 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1207, allocations: 3.938 kB / 438.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1207, allocations: 0 / 438.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1208, allocations: 0 / 438.6 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1208, allocations: 7.922 kB / 438.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.851e-05/0.1208, allocations: 64.98 kB / 438.7 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.216e-05/0.1209, allocations: 89.06 kB / 438.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.1209, allocations: 4 kB / 438.8 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.091e-05/0.121, allocations: 3.984 kB / 438.8 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.121, allocations: 4 kB / 438.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.121, allocations: 4 kB / 438.8 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.758e-05/0.121, allocations: 75.28 kB / 438.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.121, allocations: 0 / 438.9 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.1213, allocations: 36 kB / 438.9 MB, free: 0.5117 MB / 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 (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.0002477/0.1215, allocations: 143.2 kB / 439 MB, free: 372 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.419e-05/0.1216, allocations: 8 kB / 439 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1216, allocations: 0 / 439 MB, free: 364 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/0.1216, allocations: 33.64 kB / 439.1 MB, free: 324 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1218, allocations: 4 kB / 439.1 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002123/0.122, allocations: 94.62 kB / 439.2 MB, free: 200 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1223, allocations: 0.6733 MB / 439.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.016e-05/0.1224, allocations: 4 kB / 439.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.1224, allocations: 7.438 kB / 439.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1224, allocations: 0 / 439.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of Templates: time 0.002927/0.1253, allocations: 1.054 MB / 440.9 MB, free: 14.43 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) Environment - environmentSimulation: