Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, 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.002216/0.002216, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.588/1.588, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.3145/0.3145, allocations: 38 MB / 307.8 MB, free: 10.02 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.001822/0.001822, allocations: 71.89 kB / 375.2 MB, free: 15.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1359, allocations: 56.47 MB / 431.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.002117/0.1381, allocations: 0.5728 MB / 432.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004763/0.1386, allocations: 127.5 kB / 432.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.1387, allocations: 3.938 kB / 432.4 MB, free: 5.953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.1387, allocations: 3.938 kB / 432.4 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.1391, allocations: 39.81 kB / 432.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.128e-06/0.1391, allocations: 0 / 432.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.952e-05/0.1392, allocations: 19.92 kB / 432.5 MB, free: 5.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.464e-05/0.1392, allocations: 4 kB / 432.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.1393, allocations: 7.938 kB / 432.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.756e-05/0.1393, allocations: 19.86 kB / 432.5 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1393, allocations: 4 kB / 432.5 MB, free: 5.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.1395, allocations: 51.95 kB / 432.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.235e-05/0.1395, allocations: 7.969 kB / 432.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.1395, allocations: 7.938 kB / 432.6 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.1396, allocations: 51.81 kB / 432.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1396, allocations: 0 / 432.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1396, allocations: 0 / 432.6 MB, free: 5.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.453e-06/0.1396, allocations: 0 / 432.6 MB, free: 5.738 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000353/0.14, allocations: 335.8 kB / 432.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.14, allocations: 11.89 kB / 433 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.1401, allocations: 8.844 kB / 433 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.1402, allocations: 172.3 kB / 433.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1403, allocations: 4.375 kB / 433.1 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1403, allocations: 8.312 kB / 433.1 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1404, allocations: 54.25 kB / 433.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1404, allocations: 192 / 433.2 MB, free: 5.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1405, allocations: 7.938 kB / 433.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.1405, allocations: 0 / 433.2 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1406, allocations: 55.89 kB / 433.3 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.1408, allocations: 173.7 kB / 433.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.1409, allocations: 74.55 kB / 433.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.141, allocations: 32.86 kB / 433.5 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003544/0.1413, allocations: 251.3 kB / 433.8 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1414, allocations: 34.84 kB / 433.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1414, allocations: 7.938 kB / 433.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002487/0.1416, allocations: 105.5 kB / 433.9 MB, free: 4.203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.1417, allocations: 55.34 kB / 434 MB, free: 4.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.1418, allocations: 97.86 kB / 434.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.1418, allocations: 25.7 kB / 434.1 MB, free: 4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.1418, allocations: 80.14 kB / 434.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.1419, allocations: 31.55 kB / 434.2 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.1419, allocations: 17.72 kB / 434.2 MB, free: 3.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.142, allocations: 327 kB / 434.6 MB, free: 3.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.359e-05/0.1421, allocations: 12 kB / 434.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.1421, allocations: 20.36 kB / 434.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.21e-05/0.1422, allocations: 60.86 kB / 434.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1422, allocations: 0 / 434.6 MB, free: 3.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001219/0.1423, allocations: 89.58 kB / 434.7 MB, free: 3.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1424, allocations: 4 kB / 434.7 MB, free: 3.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1424, allocations: 3.938 kB / 434.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1424, allocations: 0 / 434.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1425, allocations: 23.94 kB / 434.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1425, allocations: 0 / 434.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.1426, allocations: 7.938 kB / 434.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1426, allocations: 4 kB / 434.8 MB, free: 3.305 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 (10): * Single equations (assignments): 10 * 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.874e-05/0.1427, allocations: 113.8 kB / 434.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.1427, allocations: 4 kB / 434.9 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.1429, allocations: 105.4 kB / 435 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1429, allocations: 4 kB / 435 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.1429, allocations: 4 kB / 435 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1429, allocations: 0 / 435 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.143, allocations: 169.6 kB / 435.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.143, allocations: 4 kB / 435.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.873e-05/0.1431, allocations: 12 kB / 435.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1431, allocations: 0 / 435.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1431, allocations: 11.86 kB / 435.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1431, allocations: 0 / 435.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1431, allocations: 7.984 kB / 435.2 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.1433, allocations: 109.2 kB / 435.3 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.1433, allocations: 92.89 kB / 435.4 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1434, allocations: 3.938 kB / 435.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.532e-05/0.1434, allocations: 4 kB / 435.4 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.1434, allocations: 7.984 kB / 435.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1434, allocations: 4 kB / 435.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.358e-05/0.1435, allocations: 75.28 kB / 435.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1435, allocations: 0 / 435.5 MB, free: 2.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002049/0.1437, allocations: 24.09 kB / 435.5 MB, free: 2.465 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.000141/0.1438, allocations: 107.2 kB / 435.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.144, allocations: 59.86 kB / 435.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.144, allocations: 0 / 435.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.144, allocations: 31.92 kB / 435.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1442, allocations: 11.44 kB / 435.7 MB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.1445, allocations: 144.9 kB / 435.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1448, allocations: 0.6807 MB / 436.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.455e-05/0.1448, allocations: 8 kB / 436.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.1448, allocations: 15.42 kB / 436.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1448, allocations: 0 / 436.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of Templates: time 0.002775/0.1476, allocations: 0.6504 MB / 437.2 MB, free: 0.707 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1)