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.0015/0.0015, allocations: 108 kB / 15.6 MB, free: 132 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.001638/0.001638, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.416/1.416, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.3241/0.3241, allocations: 37.99 MB / 307.8 MB, free: 10.04 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.001534/0.001534, allocations: 72.47 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1201, allocations: 56.46 MB / 431.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001846/0.122, allocations: 0.4987 MB / 432.2 MB, free: 6.125 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.1239, allocations: 1.391 MB / 433.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.1239, allocations: 0 / 433.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.456e-05/0.1239, allocations: 0 / 433.6 MB, free: 4.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.195e-05/0.124, allocations: 7.938 kB / 433.6 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007245/0.1247, allocations: 216 kB / 433.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.829e-05/0.1248, allocations: 11.97 kB / 433.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.1248, allocations: 0 / 433.8 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.432e-05/0.1248, allocations: 8 kB / 433.8 MB, free: 4.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.1249, allocations: 3.938 kB / 433.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1249, allocations: 0 / 433.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004231/0.1253, allocations: 263.6 kB / 434.1 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.1254, allocations: 8 kB / 434.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.1254, allocations: 3.938 kB / 434.1 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1257, allocations: 143.7 kB / 434.2 MB, free: 4.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1257, allocations: 0 / 434.2 MB, free: 4.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1257, allocations: 0 / 434.2 MB, free: 4.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1257, allocations: 0 / 434.2 MB, free: 4.059 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.0005192/0.1262, allocations: 335.6 kB / 434.6 MB, free: 3.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1263, allocations: 19.83 kB / 434.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.1263, allocations: 0.9375 kB / 434.6 MB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1264, allocations: 168.3 kB / 434.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1265, allocations: 384 / 434.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.1265, allocations: 4.375 kB / 434.8 MB, free: 3.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.1266, allocations: 49.98 kB / 434.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1266, allocations: 0 / 434.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1266, allocations: 0 / 434.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1266, allocations: 3.938 kB / 434.8 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.006e-05/0.1267, allocations: 4 kB / 434.8 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.1271, allocations: 249.1 kB / 435.1 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.82e-05/0.1272, allocations: 22.52 kB / 435.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.1272, allocations: 8.859 kB / 435.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.1272, allocations: 0 / 435.1 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1272, allocations: 34.62 kB / 435.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1273, allocations: 0 / 435.1 MB, free: 3.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.1274, allocations: 37.61 kB / 435.2 MB, free: 2.973 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.1275, allocations: 55.34 kB / 435.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.1275, allocations: 102 kB / 435.3 MB, free: 2.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1276, allocations: 25.7 kB / 435.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.1276, allocations: 80.14 kB / 435.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1276, allocations: 11.91 kB / 435.4 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.1277, allocations: 9.719 kB / 435.4 MB, free: 2.656 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1278, allocations: 322.8 kB / 435.8 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.1278, allocations: 0 / 435.8 MB, free: 2.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.1278, allocations: 22.7 kB / 435.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.1279, allocations: 26.52 kB / 435.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1279, allocations: 4 kB / 435.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.295e-05/0.128, allocations: 49.62 kB / 435.9 MB, free: 2.207 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.128, allocations: 4 kB / 435.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.128, allocations: 0 / 435.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.128, allocations: 8.094 kB / 435.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.1281, allocations: 4 kB / 435.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1281, allocations: 0 / 435.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.1281, allocations: 3.984 kB / 435.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1281, allocations: 4 kB / 435.9 MB, free: 2.184 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 6.769e-05/0.1282, allocations: 113.8 kB / 436 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.1282, allocations: 4 kB / 436 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.1284, allocations: 48.77 kB / 436 MB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1284, allocations: 3.984 kB / 436 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1284, allocations: 0 / 436 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.1284, allocations: 0 / 436 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.1285, allocations: 157.5 kB / 436.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.1285, allocations: 4 kB / 436.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1286, allocations: 3.938 kB / 436.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1286, allocations: 0 / 436.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.1286, allocations: 0 / 436.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1286, allocations: 3.984 kB / 436.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1286, allocations: 4.031 kB / 436.2 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.788e-05/0.1287, allocations: 131.6 kB / 436.3 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.1287, allocations: 85.09 kB / 436.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.1287, allocations: 0 / 436.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.171e-05/0.1288, allocations: 3.984 kB / 436.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.1288, allocations: 3.938 kB / 436.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1288, allocations: 0 / 436.4 MB, free: 1.527 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.708e-05/0.1289, allocations: 83.31 kB / 436.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1289, allocations: 0 / 436.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.1292, allocations: 40 kB / 436.6 MB, free: 1.406 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.0002578/0.1295, allocations: 143.1 kB / 436.7 MB, free: 1.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.1296, allocations: 8 kB / 436.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.1296, allocations: 0 / 436.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.025e-05/0.1296, allocations: 33.92 kB / 436.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1298, allocations: 12 kB / 436.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.1301, allocations: 84.92 kB / 436.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.1305, allocations: 0.6729 MB / 437.5 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.391e-05/0.1305, allocations: 0 / 437.5 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.1305, allocations: 11.42 kB / 437.5 MB, free: 388 kB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1305, allocations: 0 / 437.5 MB, free: 388 kB / 366.1 MB Notification: Performance of Templates: time 0.003719/0.1343, allocations: 1.077 MB / 438.6 MB, free: 15.31 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (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)