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.001335/0.001335, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001732/0.001732, allocations: 177.3 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.422/1.422, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.3377/0.3377, allocations: 38.02 MB / 308.4 MB, free: 10.35 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.0005742/0.0005744, allocations: 12 kB / 376.4 MB, free: 15.22 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1423, allocations: 57.52 MB / 433.9 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0007426/0.1431, allocations: 220.5 kB / 434.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1449, allocations: 1.343 MB / 435.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.1449, allocations: 4 kB / 435.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.1449, allocations: 0 / 435.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.145, allocations: 0 / 435.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.1456, allocations: 151.6 kB / 435.6 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.077e-05/0.1456, allocations: 4 kB / 435.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.1457, allocations: 0 / 435.6 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.1457, allocations: 4 kB / 435.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.1458, allocations: 7.984 kB / 435.7 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.1458, allocations: 0 / 435.7 MB, free: 3.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.1462, allocations: 259.5 kB / 435.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.1462, allocations: 4 kB / 435.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.1463, allocations: 25.7 kB / 435.9 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1464, allocations: 87.81 kB / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1464, allocations: 0 / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1464, allocations: 0 / 436 MB, free: 3.473 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1465, allocations: 0 / 436 MB, free: 3.473 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.0004131/0.1469, allocations: 331.4 kB / 436.3 MB, free: 3.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1469, allocations: 8.031 kB / 436.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.147, allocations: 7.953 kB / 436.4 MB, free: 3.086 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1471, allocations: 167.3 kB / 436.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1471, allocations: 0 / 436.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1472, allocations: 0 / 436.5 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1473, allocations: 37.62 kB / 436.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1473, allocations: 4 kB / 436.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1473, allocations: 0 / 436.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1473, allocations: 0 / 436.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.196e-05/0.1473, allocations: 4 kB / 436.6 MB, free: 2.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.1475, allocations: 153.6 kB / 436.7 MB, free: 2.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.1476, allocations: 22.61 kB / 436.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.438e-06/0.1476, allocations: 0 / 436.7 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.1476, allocations: 34.5 kB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1476, allocations: 0 / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001538/0.1478, allocations: 49.59 kB / 436.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.1478, allocations: 51.41 kB / 436.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1479, allocations: 97.98 kB / 437 MB, free: 2.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.148, allocations: 25.7 kB / 437 MB, free: 2.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.148, allocations: 80.14 kB / 437.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.148, allocations: 3.938 kB / 437.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.148, allocations: 0 / 437.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1482, allocations: 322.8 kB / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.1482, allocations: 0 / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.1482, allocations: 0 / 437.4 MB, free: 1.895 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.673e-05/0.1482, allocations: 16.11 kB / 437.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1482, allocations: 0 / 437.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.921e-05/0.1483, allocations: 33.64 kB / 437.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1483, allocations: 8 kB / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1483, allocations: 0 / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1484, allocations: 0 / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.215e-05/0.1484, allocations: 0 / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1484, allocations: 0 / 437.5 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.1485, allocations: 4 kB / 437.5 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1485, allocations: 0 / 437.5 MB, free: 1.828 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.231e-05/0.1485, allocations: 118.8 kB / 437.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-06/0.1486, allocations: 0 / 437.6 MB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1487, allocations: 48.77 kB / 437.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1487, allocations: 0 / 437.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1487, allocations: 0 / 437.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.1487, allocations: 3.984 kB / 437.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1488, allocations: 153.7 kB / 437.8 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1489, allocations: 4 kB / 437.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1489, allocations: 0 / 437.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1489, allocations: 0 / 437.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1489, allocations: 0 / 437.8 MB, free: 1.441 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.1489, allocations: 3.984 kB / 437.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1489, allocations: 0 / 437.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.149, allocations: 57.09 kB / 437.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.1491, allocations: 85.05 kB / 437.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.1491, allocations: 4 kB / 437.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.1492, allocations: 3.984 kB / 437.9 MB, free: 1.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.1492, allocations: 8 kB / 437.9 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1492, allocations: 4 kB / 437.9 MB, free: 1.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.509e-05/0.1493, allocations: 79.22 kB / 438 MB, free: 1.164 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1493, allocations: 3.938 kB / 438 MB, free: 1.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1495, allocations: 40 kB / 438.1 MB, free: 1.121 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 (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.0002442/0.1498, allocations: 139.3 kB / 438.2 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.611e-05/0.1499, allocations: 8 kB / 438.2 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1499, allocations: 4 kB / 438.2 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.1499, allocations: 29.64 kB / 438.2 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.15, allocations: 11.7 kB / 438.2 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.1503, allocations: 82.75 kB / 438.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.1505, allocations: 0.6772 MB / 439 MB, free: 116 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.562e-05/0.1505, allocations: 4 kB / 439 MB, free: 112 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.227e-05/0.1506, allocations: 7.438 kB / 439 MB, free: 104 kB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1506, allocations: 0 / 439 MB, free: 104 kB / 366.1 MB Notification: Performance of Templates: time 0.003384/0.154, allocations: 1.038 MB / 440.1 MB, free: 15.06 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: