Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0008522/0.0008525, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009676/0.0009677, allocations: 168.7 kB / 15.95 MB, free: 204 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.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.3723/0.3723, allocations: 40.01 MB / 310.4 MB, free: 9.973 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.000559/0.0005592, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 57.97 MB / 436.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0007905/0.129, allocations: 222.1 kB / 437 MB, free: 2.352 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.1312, allocations: 1.353 MB / 438.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.1313, allocations: 0 / 438.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.1313, allocations: 0 / 438.4 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.1314, allocations: 4 kB / 438.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.132, allocations: 139.7 kB / 438.5 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 4.469e-05/0.1321, allocations: 15.92 kB / 438.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.1321, allocations: 0 / 438.5 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.804e-05/0.1321, allocations: 7.938 kB / 438.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.501e-05/0.1322, allocations: 0 / 438.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1322, allocations: 0 / 438.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.1327, allocations: 271.6 kB / 438.8 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.1327, allocations: 4 kB / 438.8 MB, free: 0.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.1327, allocations: 25.7 kB / 438.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1329, allocations: 87.81 kB / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.1329, allocations: 0 / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1329, allocations: 0 / 438.9 MB, free: 436 kB / 366.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1329, allocations: 0 / 438.9 MB, free: 436 kB / 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.000435/0.1334, allocations: 327.3 kB / 439.2 MB, free: 60 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.1334, allocations: 8.031 kB / 439.2 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.1335, allocations: 15.95 kB / 439.3 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.1336, allocations: 163.3 kB / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1336, allocations: 0 / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1336, allocations: 0 / 439.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1338, allocations: 29.7 kB / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1338, allocations: 0 / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1338, allocations: 0 / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.1338, allocations: 0 / 439.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.1338, allocations: 11.89 kB / 439.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.134, allocations: 153.7 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.534e-05/0.1341, allocations: 22.61 kB / 439.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.1341, allocations: 4.859 kB / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.1341, allocations: 0 / 439.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1342, allocations: 34.62 kB / 439.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1342, allocations: 0 / 439.7 MB, free: 15.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001678/0.1344, allocations: 45.62 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.1344, allocations: 51.41 kB / 439.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.1345, allocations: 97.81 kB / 439.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1345, allocations: 25.7 kB / 439.9 MB, free: 15.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.896e-05/0.1346, allocations: 80.14 kB / 440 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1346, allocations: 11.88 kB / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.1346, allocations: 0 / 440 MB, free: 15.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.1347, allocations: 319 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.1348, allocations: 7.984 kB / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-06/0.1348, allocations: 0 / 440.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.621e-05/0.1348, allocations: 4 kB / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1348, allocations: 0 / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.353e-05/0.1349, allocations: 41.55 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.1349, allocations: 4 kB / 440.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1349, allocations: 0 / 440.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1349, allocations: 0 / 440.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.482e-05/0.135, allocations: 4 kB / 440.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1351, allocations: 4.094 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.1351, allocations: 3.984 kB / 440.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.1351, allocations: 7.938 kB / 440.4 MB, free: 14.76 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 (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.898e-05/0.1352, allocations: 105.8 kB / 440.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.1352, allocations: 4 kB / 440.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.1353, allocations: 48.81 kB / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1353, allocations: 3.938 kB / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1354, allocations: 0 / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1354, allocations: 0 / 440.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.1355, allocations: 153.6 kB / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.1355, allocations: 0 / 440.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-06/0.1355, allocations: 7.984 kB / 440.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1355, allocations: 0 / 440.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.944e-06/0.1355, allocations: 0 / 440.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1355, allocations: 0 / 440.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1355, allocations: 4 kB / 440.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.849e-05/0.1356, allocations: 61.12 kB / 440.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.1357, allocations: 77.11 kB / 440.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1357, allocations: 3.984 kB / 440.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.1358, allocations: 4 kB / 440.8 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.1358, allocations: 4 kB / 440.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1358, allocations: 0 / 440.8 MB, free: 14.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.45e-05/0.1358, allocations: 79.31 kB / 440.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.322e-06/0.1358, allocations: 4 kB / 440.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.1361, allocations: 43.92 kB / 441 MB, free: 14.07 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 (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.0002836/0.1364, allocations: 139.2 kB / 441.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.117e-05/0.1365, allocations: 8 kB / 441.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1365, allocations: 0 / 441.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.1366, allocations: 29.7 kB / 441.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.1367, allocations: 4.172 kB / 441.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.137, allocations: 86.75 kB / 441.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1372, allocations: 0.6809 MB / 441.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.74e-05/0.1372, allocations: 0 / 441.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.465e-05/0.1373, allocations: 7.438 kB / 441.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1373, allocations: 0 / 441.9 MB, free: 13.05 MB / 382.1 MB Notification: Performance of Templates: time 0.003646/0.1409, allocations: 1.045 MB / 442.9 MB, free: 12 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) Environment - environmentSimulation: