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.001407/0.001407, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001633/0.001633, allocations: 190.6 kB / 16.14 MB, free: 6.738 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.4/1.4, allocations: 205.1 MB / 222 MB, free: 4.777 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.377/0.377, allocations: 37.98 MB / 307.3 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.001511/0.001511, allocations: 74.25 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1328, allocations: 56.47 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.00232/0.1351, allocations: 0.548 MB / 431.6 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1376, allocations: 1.446 MB / 433 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.1377, allocations: 0 / 433 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.247e-05/0.1377, allocations: 0 / 433 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.1378, allocations: 0 / 433 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007941/0.1386, allocations: 155.7 kB / 433.2 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.627e-05/0.1386, allocations: 4 kB / 433.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.385e-05/0.1387, allocations: 4 kB / 433.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.283e-05/0.1387, allocations: 7.984 kB / 433.2 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.1388, allocations: 15.88 kB / 433.2 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1388, allocations: 0 / 433.2 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005465/0.1394, allocations: 263.6 kB / 433.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.1394, allocations: 7.938 kB / 433.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1394, allocations: 0 / 433.5 MB, free: 4.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1397, allocations: 143.7 kB / 433.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1397, allocations: 0 / 433.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1397, allocations: 0 / 433.6 MB, free: 4.453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.1397, allocations: 0 / 433.6 MB, free: 4.453 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.0004434/0.1402, allocations: 343.5 kB / 433.9 MB, free: 4.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.1402, allocations: 8.031 kB / 433.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1403, allocations: 0.9375 kB / 433.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1404, allocations: 164.3 kB / 434.1 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1404, allocations: 4.375 kB / 434.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1404, allocations: 384 / 434.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1406, allocations: 45.98 kB / 434.2 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1406, allocations: 0 / 434.2 MB, free: 3.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1406, allocations: 4 kB / 434.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1406, allocations: 4 kB / 434.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.1407, allocations: 7.984 kB / 434.2 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.1411, allocations: 241.2 kB / 434.4 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.1411, allocations: 18.52 kB / 434.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.1412, allocations: 8.969 kB / 434.4 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.1412, allocations: 3.984 kB / 434.4 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.1412, allocations: 34.56 kB / 434.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1412, allocations: 0 / 434.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.1414, allocations: 37.61 kB / 434.5 MB, free: 3.379 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1414, allocations: 59.34 kB / 434.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.1415, allocations: 93.8 kB / 434.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1415, allocations: 33.69 kB / 434.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.1416, allocations: 80.39 kB / 434.8 MB, free: 3.086 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-06/0.1416, allocations: 7.906 kB / 434.8 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.1416, allocations: 17.72 kB / 434.8 MB, free: 3.055 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1418, allocations: 314.8 kB / 435.1 MB, free: 2.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.1418, allocations: 4 kB / 435.1 MB, free: 2.734 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/0.1419, allocations: 22.56 kB / 435.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.1419, allocations: 34.52 kB / 435.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1419, allocations: 0 / 435.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001145/0.142, allocations: 49.62 kB / 435.2 MB, free: 2.605 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1421, allocations: 4 kB / 435.2 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1421, allocations: 4 kB / 435.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1421, allocations: 0 / 435.2 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.649e-05/0.1422, allocations: 4 kB / 435.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/0.1422, allocations: 0 / 435.2 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.1422, allocations: 12.03 kB / 435.2 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1422, allocations: 3.938 kB / 435.2 MB, free: 2.578 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 0.0001071/0.1424, allocations: 121.7 kB / 435.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.1424, allocations: 0 / 435.4 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001407/0.1425, allocations: 48.75 kB / 435.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1425, allocations: 0 / 435.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1426, allocations: 4.031 kB / 435.4 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1426, allocations: 0 / 435.4 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.1427, allocations: 161.5 kB / 435.6 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.1428, allocations: 0 / 435.6 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.1428, allocations: 0 / 435.6 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1428, allocations: 0 / 435.6 MB, free: 2.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1428, allocations: 4 kB / 435.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1428, allocations: 0 / 435.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1428, allocations: 0 / 435.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.1429, allocations: 135.5 kB / 435.7 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.143, allocations: 81.11 kB / 435.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.143, allocations: 0 / 435.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.429e-05/0.143, allocations: 0 / 435.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.977e-05/0.1431, allocations: 12.02 kB / 435.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.1431, allocations: 0 / 435.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.1431, allocations: 79.27 kB / 435.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1431, allocations: 0 / 435.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003094/0.1435, allocations: 40.12 kB / 435.9 MB, free: 1.805 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.0002796/0.1438, allocations: 139.2 kB / 436 MB, free: 1.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.35e-05/0.1438, allocations: 7.984 kB / 436.1 MB, free: 1.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1439, allocations: 4 kB / 436.1 MB, free: 1.648 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.411e-05/0.1439, allocations: 29.64 kB / 436.1 MB, free: 1.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.1441, allocations: 7.938 kB / 436.1 MB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/0.1443, allocations: 94.94 kB / 436.2 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.1446, allocations: 0.677 MB / 436.9 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.1446, allocations: 0 / 436.9 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.148e-05/0.1446, allocations: 7.438 kB / 436.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1446, allocations: 0 / 436.9 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of Templates: time 0.003792/0.1484, allocations: 1.054 MB / 437.9 MB, free: 15.72 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)