Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0009126/0.000913, allocations: 91.61 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.0009949/0.000995, 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.779/1.779, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3823/0.3823, allocations: 40 MB / 310.4 MB, free: 9.684 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.0005684/0.0005685, allocations: 16 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1285, allocations: 57.96 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0008182/0.1294, allocations: 302 kB / 437.1 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.1298, allocations: 119.7 kB / 437.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.1298, allocations: 0 / 437.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.1298, allocations: 3.938 kB / 437.2 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.1301, allocations: 27.91 kB / 437.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.1301, allocations: 0 / 437.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.979e-05/0.1302, allocations: 11.92 kB / 437.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.239e-05/0.1303, allocations: 4 kB / 437.2 MB, free: 1.844 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.726e-05/0.1303, allocations: 15.92 kB / 437.3 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.392e-05/0.1304, allocations: 19.91 kB / 437.3 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1304, allocations: 4 kB / 437.3 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1305, allocations: 47.95 kB / 437.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1306, allocations: 0 / 437.3 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.1306, allocations: 29.64 kB / 437.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.521e-05/0.1307, allocations: 27.95 kB / 437.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1307, allocations: 0 / 437.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1307, allocations: 3.938 kB / 437.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1307, allocations: 0 / 437.4 MB, free: 1.691 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.0002852/0.131, allocations: 339.5 kB / 437.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.1311, allocations: 16.02 kB / 437.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.541e-05/0.1311, allocations: 4 kB / 437.7 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1312, allocations: 163 kB / 437.9 MB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.1313, allocations: 4 kB / 437.9 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.1313, allocations: 8 kB / 437.9 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1314, allocations: 61.55 kB / 438 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1315, allocations: 0 / 438 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1315, allocations: 0 / 438 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.1315, allocations: 4 kB / 438 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1316, allocations: 51.95 kB / 438 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.1318, allocations: 177.5 kB / 438.2 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1319, allocations: 86.56 kB / 438.3 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.132, allocations: 28.84 kB / 438.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003498/0.1324, allocations: 251.3 kB / 438.6 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.1324, allocations: 34.56 kB / 438.6 MB, free: 276 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.1325, allocations: 4 kB / 438.6 MB, free: 272 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002322/0.1327, allocations: 101.8 kB / 438.7 MB, free: 164 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.1327, allocations: 51.41 kB / 438.7 MB, free: 100 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.1328, allocations: 93.91 kB / 438.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1328, allocations: 29.7 kB / 438.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.499e-05/0.1329, allocations: 80.14 kB / 438.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.1329, allocations: 35.41 kB / 439 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.133, allocations: 0 / 439 MB, free: 15.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1331, allocations: 326.9 kB / 439.3 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.487e-05/0.1331, allocations: 19.94 kB / 439.3 MB, free: 15.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.1332, allocations: 15.98 kB / 439.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.366e-05/0.1332, allocations: 20.56 kB / 439.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1332, allocations: 0 / 439.4 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001261/0.1334, allocations: 85.56 kB / 439.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1334, allocations: 11.94 kB / 439.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1334, allocations: 0 / 439.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.1334, allocations: 0 / 439.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.1335, allocations: 15.98 kB / 439.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1335, allocations: 0 / 439.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.1336, allocations: 11.94 kB / 439.5 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1336, allocations: 4 kB / 439.5 MB, free: 15.33 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.644e-05/0.1337, allocations: 113.8 kB / 439.6 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.1337, allocations: 7.844 kB / 439.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.1339, allocations: 105.6 kB / 439.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1339, allocations: 0 / 439.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1339, allocations: 0 / 439.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.134, allocations: 4 kB / 439.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1341, allocations: 177.5 kB / 439.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1341, allocations: 0 / 439.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.592e-05/0.1342, allocations: 15.98 kB / 439.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1342, allocations: 4 kB / 439.9 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.1342, allocations: 4 kB / 439.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1342, allocations: 0 / 439.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1342, allocations: 0 / 439.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1344, allocations: 116.9 kB / 440 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.723e-05/0.1344, allocations: 85.05 kB / 440.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1344, allocations: 8.281 kB / 440.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.226e-05/0.1345, allocations: 0 / 440.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.1345, allocations: 3.984 kB / 440.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1345, allocations: 7.938 kB / 440.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.655e-05/0.1345, allocations: 75.28 kB / 440.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1345, allocations: 0 / 440.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.1347, allocations: 16 kB / 440.2 MB, free: 14.5 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001449/0.1349, allocations: 115.3 kB / 440.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.135, allocations: 51.91 kB / 440.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.135, allocations: 4 kB / 440.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.1351, allocations: 31.92 kB / 440.4 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.1353, allocations: 19.69 kB / 440.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.1357, allocations: 150.6 kB / 440.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.136, allocations: 0.6809 MB / 441.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.667e-05/0.1361, allocations: 4 kB / 441.3 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.1361, allocations: 11.44 kB / 441.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1361, allocations: 0 / 441.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of Templates: time 0.002786/0.1389, allocations: 0.6147 MB / 441.9 MB, free: 12.77 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) Environment - environmentSimulation: