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.001091/0.001091, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001259/0.001259, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.357/0.357, allocations: 40 MB / 310.4 MB, free: 9.934 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.0005807/0.0005808, allocations: 16 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.117, allocations: 57.96 MB / 436.8 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.0006594/0.1177, allocations: 230 kB / 437 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1195, allocations: 1.353 MB / 438.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.1196, allocations: 0 / 438.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.098e-05/0.1196, allocations: 0 / 438.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.217e-05/0.1196, allocations: 3.938 kB / 438.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.1203, allocations: 147.8 kB / 438.5 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.633e-05/0.1203, allocations: 3.938 kB / 438.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.1203, allocations: 3.984 kB / 438.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.1204, allocations: 4 kB / 438.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.1204, allocations: 4 kB / 438.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1204, allocations: 4 kB / 438.5 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.1209, allocations: 263.6 kB / 438.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.1209, allocations: 0 / 438.8 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.1209, allocations: 25.7 kB / 438.8 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1211, allocations: 91.8 kB / 438.9 MB, free: 440 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1211, allocations: 0 / 438.9 MB, free: 440 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1211, allocations: 0 / 438.9 MB, free: 440 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1211, allocations: 0 / 438.9 MB, free: 440 kB / 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.0003336/0.1214, allocations: 331.4 kB / 439.2 MB, free: 60 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1215, allocations: 16.03 kB / 439.2 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.1215, allocations: 7.859 kB / 439.3 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.1216, allocations: 163.1 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1217, allocations: 0 / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.1217, allocations: 4 kB / 439.4 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1218, allocations: 41.62 kB / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1218, allocations: 0 / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1218, allocations: 0 / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1218, allocations: 0 / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.1219, allocations: 11.94 kB / 439.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.1222, allocations: 241.3 kB / 439.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.828e-05/0.1223, allocations: 18.58 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.1223, allocations: 12.78 kB / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.396e-06/0.1223, allocations: 0 / 439.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.1224, allocations: 34.55 kB / 439.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1224, allocations: 0 / 439.8 MB, free: 15.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.1225, allocations: 41.72 kB / 439.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.1226, allocations: 55.41 kB / 439.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.966e-05/0.1226, allocations: 97.8 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.1227, allocations: 25.7 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.1227, allocations: 88.03 kB / 440.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-06/0.1227, allocations: 0 / 440.1 MB, free: 15.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.1227, allocations: 8 kB / 440.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1228, allocations: 319 kB / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.1229, allocations: 3.938 kB / 440.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.1229, allocations: 18.58 kB / 440.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.1229, allocations: 7.984 kB / 440.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1229, allocations: 0 / 440.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.384e-05/0.123, allocations: 45.73 kB / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.123, allocations: 11.59 kB / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.123, allocations: 4 kB / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1231, allocations: 3.953 kB / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.424e-05/0.1231, allocations: 7.984 kB / 440.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1231, allocations: 0 / 440.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.1232, allocations: 11.84 kB / 440.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1232, allocations: 0 / 440.5 MB, free: 14.61 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.867e-05/0.1233, allocations: 113.8 kB / 440.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.1233, allocations: 0 / 440.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.1234, allocations: 48.75 kB / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1234, allocations: 3.953 kB / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1234, allocations: 0 / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1234, allocations: 0 / 440.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.1236, allocations: 153.7 kB / 440.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.1236, allocations: 4 kB / 440.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.1236, allocations: 0 / 440.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1236, allocations: 4.031 kB / 440.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1236, allocations: 4 kB / 440.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1236, allocations: 0 / 440.8 MB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1236, allocations: 3.953 kB / 440.8 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.1238, allocations: 131.5 kB / 441 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.733e-05/0.1238, allocations: 81.09 kB / 441 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.1238, allocations: 0 / 441 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.452e-05/0.1239, allocations: 0 / 441 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.1239, allocations: 8.031 kB / 441 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1239, allocations: 3.953 kB / 441.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.323e-05/0.124, allocations: 75.28 kB / 441.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.124, allocations: 0 / 441.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1243, allocations: 43.98 kB / 441.2 MB, free: 13.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002748/0.1246, allocations: 139.2 kB / 441.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.955e-05/0.1247, allocations: 12.09 kB / 441.3 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1247, allocations: 4.125 kB / 441.3 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.467e-05/0.1247, allocations: 33.69 kB / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.1249, allocations: 4 kB / 441.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.1252, allocations: 86.7 kB / 441.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.1255, allocations: 0.677 MB / 442.1 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.942e-05/0.1255, allocations: 4 kB / 442.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.185e-05/0.1255, allocations: 11.5 kB / 442.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1256, allocations: 0 / 442.1 MB, free: 12.81 MB / 382.1 MB Notification: Performance of Templates: time 0.003537/0.1291, allocations: 1.037 MB / 443.2 MB, free: 11.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: