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.0009688/0.0009687, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007639/0.007639, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.4 MB / 222.4 MB, free: 5.574 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.306/0.306, allocations: 40 MB / 310.7 MB, free: 9.934 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.000831/0.0008311, allocations: 12 kB / 379.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1251, allocations: 57.95 MB / 437.4 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.0007063/0.1259, allocations: 309.9 kB / 437.7 MB, free: 1.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003724/0.1263, allocations: 131.5 kB / 437.8 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.1263, allocations: 4 kB / 437.8 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.586e-05/0.1263, allocations: 3.938 kB / 437.8 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1265, allocations: 19.92 kB / 437.9 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.434e-06/0.1266, allocations: 0 / 437.9 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.777e-05/0.1266, allocations: 23.92 kB / 437.9 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.527e-05/0.1266, allocations: 0 / 437.9 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.887e-05/0.1267, allocations: 15.91 kB / 437.9 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.1267, allocations: 15.92 kB / 437.9 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.779e-06/0.1268, allocations: 4 kB / 437.9 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1269, allocations: 47.95 kB / 438 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.1269, allocations: 7.875 kB / 438 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.1269, allocations: 45.56 kB / 438 MB, free: 1.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.127, allocations: 39.88 kB / 438.1 MB, free: 1.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.127, allocations: 4 kB / 438.1 MB, free: 1.523 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.127, allocations: 0 / 438.1 MB, free: 1.523 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1271, allocations: 0 / 438.1 MB, free: 1.523 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.000285/0.1273, allocations: 335.7 kB / 438.4 MB, free: 1.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1274, allocations: 12.03 kB / 438.4 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.1274, allocations: 0.9375 kB / 438.4 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1276, allocations: 164.4 kB / 438.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.1276, allocations: 384 / 438.6 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1276, allocations: 8.375 kB / 438.6 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.1277, allocations: 58.17 kB / 438.6 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.1277, allocations: 4.188 kB / 438.6 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1277, allocations: 3.938 kB / 438.6 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1278, allocations: 0 / 438.6 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.305e-05/0.1278, allocations: 51.95 kB / 438.7 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.128, allocations: 173.6 kB / 438.9 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1282, allocations: 82.58 kB / 438.9 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.106e-05/0.1282, allocations: 36.83 kB / 439 MB, free: 468 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003193/0.1285, allocations: 255.3 kB / 439.2 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.1286, allocations: 42.55 kB / 439.3 MB, free: 104 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1286, allocations: 4 kB / 439.3 MB, free: 100 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002202/0.1288, allocations: 101.8 kB / 439.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1288, allocations: 51.78 kB / 439.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.286e-05/0.1289, allocations: 97.73 kB / 439.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.1289, allocations: 33.7 kB / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.129, allocations: 80.14 kB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.129, allocations: 35.41 kB / 439.7 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.1291, allocations: 13.7 kB / 439.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.1292, allocations: 323 kB / 440 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.129e-05/0.1292, allocations: 19.92 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.1292, allocations: 16 kB / 440 MB, free: 15.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.1293, allocations: 52.84 kB / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1293, allocations: 0 / 440.1 MB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001244/0.1294, allocations: 85.62 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1295, allocations: 4 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.1295, allocations: 3.938 kB / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1295, allocations: 0 / 440.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.129e-05/0.1296, allocations: 19.98 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.1296, allocations: 4 kB / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.1296, allocations: 3.938 kB / 440.2 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.1296, allocations: 3.938 kB / 440.2 MB, free: 15.11 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.612e-05/0.1297, allocations: 113.8 kB / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.1297, allocations: 7.906 kB / 440.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.1299, allocations: 101.8 kB / 440.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1299, allocations: 96 / 440.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1299, allocations: 11.94 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.1299, allocations: 3.984 kB / 440.4 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.13, allocations: 165.7 kB / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1301, allocations: 0 / 440.6 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.439e-05/0.1301, allocations: 19.98 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1301, allocations: 0 / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1302, allocations: 3.938 kB / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1302, allocations: 0 / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1302, allocations: 0 / 440.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001269/0.1303, allocations: 117 kB / 440.7 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.1303, allocations: 89.03 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1304, allocations: 3.938 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.394e-05/0.1304, allocations: 4 kB / 440.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.689e-05/0.1304, allocations: 4 kB / 440.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1304, allocations: 3.938 kB / 440.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.651e-05/0.1305, allocations: 83.27 kB / 440.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1305, allocations: 0 / 440.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001945/0.1307, allocations: 24.09 kB / 440.9 MB, free: 14.26 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 (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.0001252/0.1308, allocations: 107.1 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.1309, allocations: 55.91 kB / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1309, allocations: 0 / 441.1 MB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.131, allocations: 28 kB / 441.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.1311, allocations: 4 kB / 441.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.1314, allocations: 163 kB / 441.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.1317, allocations: 0.6848 MB / 442 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.481e-05/0.1317, allocations: 11.98 kB / 442 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.1317, allocations: 15.38 kB / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1317, allocations: 0 / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.00253/0.1343, allocations: 0.6189 MB / 442.6 MB, free: 12.52 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: