Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7114/0.7114, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 404.7 MB, free: 6.117 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001169, allocations: 103.6 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000994/0.000994, allocations: 51.92 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1243, allocations: 80.42 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001586/0.1259, allocations: 0.5838 MB / 0.6427 GB, free: 4.867 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001491/0.1261, allocations: 47.86 kB / 0.6427 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.211e-05/0.1262, allocations: 0 / 0.6427 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.585e-05/0.1262, allocations: 0 / 0.6427 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.1263, allocations: 7.938 kB / 0.6428 GB, free: 4.812 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.568e-05/0.1264, allocations: 4 kB / 0.6428 GB, free: 4.809 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.119e-05/0.1264, allocations: 8 kB / 0.6428 GB, free: 4.801 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.1265, allocations: 3.984 kB / 0.6428 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.19e-05/0.1265, allocations: 7.938 kB / 0.6428 GB, free: 4.789 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.1266, allocations: 7.984 kB / 0.6428 GB, free: 4.781 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1266, allocations: 0 / 0.6428 GB, free: 4.781 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.883e-06/0.1266, allocations: 0 / 0.6428 GB, free: 4.781 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1266, allocations: 7.984 kB / 0.6428 GB, free: 4.773 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.1267, allocations: 7.938 kB / 0.6428 GB, free: 4.766 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 6.934e-05/0.1268, allocations: 11.98 kB / 0.6428 GB, free: 4.754 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1268, allocations: 0 / 0.6428 GB, free: 4.754 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1268, allocations: 3.938 kB / 0.6428 GB, free: 4.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.1268, allocations: 0 / 0.6428 GB, free: 4.75 MB / 442.7 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.0004926/0.1273, allocations: 327.5 kB / 0.6431 GB, free: 4.383 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.1273, allocations: 8.031 kB / 0.6431 GB, free: 4.375 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.1274, allocations: 4.938 kB / 0.6431 GB, free: 4.371 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002365/0.1276, allocations: 180.5 kB / 0.6433 GB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1276, allocations: 4.359 kB / 0.6433 GB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1277, allocations: 384 / 0.6433 GB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.797e-05/0.1278, allocations: 41.81 kB / 0.6434 GB, free: 4.105 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1278, allocations: 4 kB / 0.6434 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1278, allocations: 0 / 0.6434 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1278, allocations: 0 / 0.6434 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.382e-05/0.1278, allocations: 4 kB / 0.6434 GB, free: 4.098 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001941/0.128, allocations: 153.7 kB / 0.6435 GB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.152e-05/0.1281, allocations: 22.52 kB / 0.6435 GB, free: 3.867 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.1281, allocations: 8.859 kB / 0.6435 GB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.1282, allocations: 11.91 kB / 0.6436 GB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.1282, allocations: 42.56 kB / 0.6436 GB, free: 3.793 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1282, allocations: 0 / 0.6436 GB, free: 3.793 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001554/0.1284, allocations: 37.69 kB / 0.6436 GB, free: 3.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.1284, allocations: 51.41 kB / 0.6437 GB, free: 3.688 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1285, allocations: 113.8 kB / 0.6438 GB, free: 3.566 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1286, allocations: 25.83 kB / 0.6438 GB, free: 3.535 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1286, allocations: 88.14 kB / 0.6439 GB, free: 3.445 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1287, allocations: 7.844 kB / 0.6439 GB, free: 3.438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.1287, allocations: 17.72 kB / 0.6439 GB, free: 3.414 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1288, allocations: 314.8 kB / 0.6442 GB, free: 3.098 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.1289, allocations: 8 kB / 0.6442 GB, free: 3.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.1289, allocations: 13.72 kB / 0.6442 GB, free: 3.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.74e-05/0.1289, allocations: 25.77 kB / 0.6443 GB, free: 3.039 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.129, allocations: 0 / 0.6443 GB, free: 3.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.471e-05/0.1291, allocations: 53.56 kB / 0.6443 GB, free: 2.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1291, allocations: 4 kB / 0.6443 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1291, allocations: 0 / 0.6443 GB, free: 2.977 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1291, allocations: 4 kB / 0.6443 GB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.1292, allocations: 7.938 kB / 0.6443 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1292, allocations: 0 / 0.6443 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.1292, allocations: 8.047 kB / 0.6443 GB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.1293, allocations: 0 / 0.6443 GB, free: 2.957 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.495e-05/0.1293, allocations: 111.2 kB / 0.6444 GB, free: 2.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1294, allocations: 3.938 kB / 0.6445 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.1295, allocations: 52.75 kB / 0.6445 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1295, allocations: 0 / 0.6445 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1295, allocations: 0 / 0.6445 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1295, allocations: 3.984 kB / 0.6445 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1297, allocations: 157.7 kB / 0.6447 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1297, allocations: 0 / 0.6447 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.1297, allocations: 7.938 kB / 0.6447 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1297, allocations: 0 / 0.6447 GB, free: 2.566 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1298, allocations: 4 kB / 0.6447 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1298, allocations: 256 / 0.6447 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1298, allocations: 0 / 0.6447 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009699/0.1307, allocations: 0.9306 MB / 0.6456 GB, free: 1.496 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.1308, allocations: 81.02 kB / 0.6457 GB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1308, allocations: 4.031 kB / 0.6457 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.995e-05/0.1308, allocations: 0 / 0.6457 GB, free: 1.395 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.1309, allocations: 3.984 kB / 0.6457 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.1309, allocations: 128 / 0.6457 GB, free: 1.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.318e-05/0.131, allocations: 95.22 kB / 0.6458 GB, free: 1.297 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.131, allocations: 0 / 0.6458 GB, free: 1.297 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002831/0.1313, allocations: 4 kB / 0.6458 GB, free: 1.293 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * 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.0001082/0.1314, allocations: 99.17 kB / 0.6458 GB, free: 1.184 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.583e-05/0.1314, allocations: 12 kB / 0.6459 GB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1315, allocations: 0 / 0.6459 GB, free: 1.172 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.718e-05/0.1315, allocations: 8.109 kB / 0.6459 GB, free: 1.164 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.1317, allocations: 16 kB / 0.6459 GB, free: 1.148 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.132, allocations: 210.2 kB / 0.6461 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.1323, allocations: 0.6848 MB / 0.6468 GB, free: 192 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.813e-05/0.1323, allocations: 3.984 kB / 0.6468 GB, free: 188 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/0.1324, allocations: 11.44 kB / 0.6468 GB, free: 176 kB / 442.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1324, allocations: 0 / 0.6468 GB, free: 176 kB / 442.7 MB Notification: Performance of Templates: time 0.001932/0.1343, allocations: 350.5 kB / 0.6471 GB, free: 15.83 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)