Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.0007446/0.0007446, 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.005208/0.005208, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.372/1.372, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3092/0.3092, allocations: 38.04 MB / 308.8 MB, free: 10.36 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.0005645/0.0005646, allocations: 16 kB / 377 MB, free: 14.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1157, allocations: 57.51 MB / 434.6 MB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0007567/0.1165, allocations: 238 kB / 434.8 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1186, allocations: 1.431 MB / 436.2 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.1186, allocations: 0 / 436.2 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.1186, allocations: 4 kB / 436.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.142e-05/0.1187, allocations: 3.938 kB / 436.2 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.1194, allocations: 143.7 kB / 436.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.254e-05/0.1195, allocations: 11.98 kB / 436.4 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.1195, allocations: 7.984 kB / 436.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.097e-05/0.1196, allocations: 0 / 436.4 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.1196, allocations: 4 kB / 436.4 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.1196, allocations: 0 / 436.4 MB, free: 3.344 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.1202, allocations: 275.6 kB / 436.7 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.1202, allocations: 0 / 436.7 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.1202, allocations: 29.64 kB / 436.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.1205, allocations: 143.7 kB / 436.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1205, allocations: 0 / 436.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1205, allocations: 0 / 436.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1205, allocations: 0 / 436.8 MB, free: 2.898 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.0004087/0.1209, allocations: 331.6 kB / 437.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.121, allocations: 12.03 kB / 437.2 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.121, allocations: 4.938 kB / 437.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.72e-05/0.1211, allocations: 160.4 kB / 437.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1212, allocations: 384 / 437.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1212, allocations: 384 / 437.3 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1213, allocations: 49.94 kB / 437.4 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1213, allocations: 4 kB / 437.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1213, allocations: 3.938 kB / 437.4 MB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1213, allocations: 3.984 kB / 437.4 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.326e-05/0.1214, allocations: 7.984 kB / 437.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.1217, allocations: 245.2 kB / 437.6 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.732e-05/0.1218, allocations: 18.58 kB / 437.7 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.992e-05/0.1218, allocations: 8.891 kB / 437.7 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1218, allocations: 7.875 kB / 437.7 MB, free: 1.906 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1218, allocations: 30.56 kB / 437.7 MB, free: 1.867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1219, allocations: 4.062 kB / 437.7 MB, free: 1.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001745/0.122, allocations: 41.61 kB / 437.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1221, allocations: 51.41 kB / 437.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.1222, allocations: 101.8 kB / 437.9 MB, free: 1.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.1222, allocations: 25.7 kB / 437.9 MB, free: 1.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.1222, allocations: 84.14 kB / 438 MB, free: 1.527 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.196e-06/0.1222, allocations: 7.906 kB / 438 MB, free: 1.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.1223, allocations: 9.719 kB / 438 MB, free: 1.504 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.125e-05/0.1224, allocations: 319 kB / 438.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.1224, allocations: 0 / 438.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.806e-05/0.1224, allocations: 30.5 kB / 438.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.778e-05/0.1225, allocations: 22.58 kB / 438.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1225, allocations: 0 / 438.4 MB, free: 1.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.059e-05/0.1226, allocations: 53.62 kB / 438.4 MB, free: 1.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1226, allocations: 4 kB / 438.4 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1226, allocations: 4 kB / 438.4 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1226, allocations: 0 / 438.4 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.1227, allocations: 7.938 kB / 438.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1227, allocations: 0 / 438.5 MB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.1227, allocations: 4 kB / 438.5 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1227, allocations: 0 / 438.5 MB, free: 1.035 MB / 366.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 7.148e-05/0.1228, allocations: 121.9 kB / 438.6 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.1228, allocations: 0 / 438.6 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.123, allocations: 40.81 kB / 438.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.123, allocations: 0 / 438.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.123, allocations: 0 / 438.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.123, allocations: 0 / 438.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1232, allocations: 157.6 kB / 438.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.1232, allocations: 3.938 kB / 438.8 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.1232, allocations: 4.031 kB / 438.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1232, allocations: 0 / 438.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.1232, allocations: 0 / 438.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1232, allocations: 4 kB / 438.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1232, allocations: 0 / 438.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.739e-05/0.1233, allocations: 147.3 kB / 438.9 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.1234, allocations: 77.11 kB / 439 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.1234, allocations: 0 / 439 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.1234, allocations: 4.031 kB / 439 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.1235, allocations: 4 kB / 439 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1235, allocations: 4 kB / 439 MB, free: 388 kB / 366.1 MB Notification: Performance of sorting global known variables: time 3.104e-05/0.1235, allocations: 75.28 kB / 439.1 MB, free: 312 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1235, allocations: 0 / 439.1 MB, free: 312 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1238, allocations: 39.98 kB / 439.1 MB, free: 272 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 (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.0002724/0.1241, allocations: 139.2 kB / 439.3 MB, free: 124 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.777e-05/0.1241, allocations: 20.02 kB / 439.3 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1242, allocations: 0 / 439.3 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.1242, allocations: 29.7 kB / 439.3 MB, free: 68 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.1244, allocations: 7.938 kB / 439.3 MB, free: 60 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002488/0.1247, allocations: 86.77 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1249, allocations: 0.6731 MB / 440.1 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.039e-05/0.1249, allocations: 12.33 kB / 440.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.343e-05/0.125, allocations: 11.38 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.125, allocations: 0 / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of Templates: time 0.003707/0.1287, allocations: 1.046 MB / 441.1 MB, free: 14.18 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) Environment - environmentSimulation: