Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001315, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001514/0.001514, allocations: 195.4 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7024/0.7024, allocations: 132.2 MB / 422.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 68.91 kB / 0.5014 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1333, allocations: 80.2 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001622/0.1349, allocations: 0.5722 MB / 0.5802 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.1351, allocations: 15.91 kB / 0.5802 GB, free: 8.438 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.962e-05/0.1351, allocations: 4 kB / 0.5803 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.1351, allocations: 0 / 0.5803 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.1352, allocations: 0 / 0.5803 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.046e-06/0.1352, allocations: 0 / 0.5803 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.495e-05/0.1353, allocations: 8 kB / 0.5803 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.1353, allocations: 0 / 0.5803 GB, free: 8.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.241e-05/0.1353, allocations: 7.875 kB / 0.5803 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.992e-05/0.1354, allocations: 7.984 kB / 0.5803 GB, free: 8.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.1354, allocations: 0 / 0.5803 GB, free: 8.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5e-06/0.1354, allocations: 0 / 0.5803 GB, free: 8.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.1354, allocations: 0 / 0.5803 GB, free: 8.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.435e-05/0.1354, allocations: 4 kB / 0.5803 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.039e-05/0.1355, allocations: 0 / 0.5803 GB, free: 8.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1355, allocations: 0 / 0.5803 GB, free: 8.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1355, allocations: 3.938 kB / 0.5803 GB, free: 8.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1355, allocations: 0 / 0.5803 GB, free: 8.402 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002214/0.1357, allocations: 311.6 kB / 0.5806 GB, free: 8.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1357, allocations: 12.03 kB / 0.5806 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.574e-05/0.1358, allocations: 34.75 kB / 0.5806 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.623e-05/0.1358, allocations: 0.9375 kB / 0.5806 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.116e-05/0.1359, allocations: 160.4 kB / 0.5808 GB, free: 7.801 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.1359, allocations: 8.359 kB / 0.5808 GB, free: 7.793 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.1359, allocations: 8.359 kB / 0.5808 GB, free: 7.785 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.051e-05/0.136, allocations: 43.3 kB / 0.5808 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.136, allocations: 4 kB / 0.5808 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.28e-06/0.136, allocations: 0 / 0.5808 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.136, allocations: 0 / 0.5808 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.71e-05/0.136, allocations: 0 / 0.5808 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000119/0.1361, allocations: 162.5 kB / 0.581 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/0.1362, allocations: 41.22 kB / 0.581 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.1362, allocations: 9.719 kB / 0.581 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1362, allocations: 8 kB / 0.5811 GB, free: 7.434 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.1363, allocations: 38.56 kB / 0.5811 GB, free: 7.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1363, allocations: 0 / 0.5811 GB, free: 7.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000124/0.1364, allocations: 49.53 kB / 0.5811 GB, free: 7.332 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1364, allocations: 81.11 kB / 0.5812 GB, free: 7.234 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.704e-05/0.1365, allocations: 89.86 kB / 0.5813 GB, free: 7.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1365, allocations: 25.7 kB / 0.5813 GB, free: 7.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.912e-05/0.1365, allocations: 84.08 kB / 0.5814 GB, free: 7.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.1365, allocations: 4.219 kB / 0.5814 GB, free: 7.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.1366, allocations: 21.97 kB / 0.5814 GB, free: 6.988 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.1367, allocations: 314.8 kB / 0.5817 GB, free: 6.672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.1367, allocations: 0 / 0.5817 GB, free: 6.672 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/0.1367, allocations: 13.72 kB / 0.5817 GB, free: 6.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.1367, allocations: 17.72 kB / 0.5818 GB, free: 6.629 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1367, allocations: 0 / 0.5818 GB, free: 6.629 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.632e-05/0.1368, allocations: 53.62 kB / 0.5818 GB, free: 6.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.1368, allocations: 4 kB / 0.5818 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1368, allocations: 0 / 0.5818 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.1368, allocations: 0 / 0.5818 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.1369, allocations: 7.938 kB / 0.5818 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1369, allocations: 0 / 0.5818 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.1369, allocations: 11.84 kB / 0.5818 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1369, allocations: 4 kB / 0.5818 GB, free: 6.543 MB / 494.1 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 5.101e-05/0.137, allocations: 110.6 kB / 0.5819 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.015e-05/0.137, allocations: 7.922 kB / 0.5819 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.128e-05/0.1371, allocations: 48.77 kB / 0.582 GB, free: 6.359 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1371, allocations: 3.984 kB / 0.582 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1371, allocations: 0 / 0.582 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1371, allocations: 0 / 0.582 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.535e-05/0.1372, allocations: 149.7 kB / 0.5821 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1372, allocations: 4 kB / 0.5821 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.1372, allocations: 15.94 kB / 0.5822 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1372, allocations: 0 / 0.5822 GB, free: 6.141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1373, allocations: 3.984 kB / 0.5822 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1373, allocations: 0 / 0.5822 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1373, allocations: 0 / 0.5822 GB, free: 6.137 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.102e-05/0.1373, allocations: 70 kB / 0.5822 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.1374, allocations: 85.03 kB / 0.5823 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.315e-06/0.1374, allocations: 4.031 kB / 0.5823 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.1374, allocations: 0 / 0.5823 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.1374, allocations: 4 kB / 0.5823 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1374, allocations: 0 / 0.5823 GB, free: 5.938 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.158e-05/0.1375, allocations: 79.22 kB / 0.5824 GB, free: 5.859 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1375, allocations: 0 / 0.5824 GB, free: 5.859 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001728/0.1376, allocations: 0 / 0.5824 GB, free: 5.859 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0002733/0.1379, allocations: 0.6055 MB / 0.583 GB, free: 5.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.319e-05/0.138, allocations: 11.94 kB / 0.583 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.138, allocations: 0 / 0.583 GB, free: 5.211 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.006e-06/0.138, allocations: 7.938 kB / 0.583 GB, free: 5.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.1381, allocations: 7.359 kB / 0.583 GB, free: 5.199 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.1384, allocations: 123.5 kB / 0.5831 GB, free: 5.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001805/0.1386, allocations: 0.6768 MB / 0.5838 GB, free: 4.332 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.527e-05/0.1386, allocations: 0 / 0.5838 GB, free: 4.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.1386, allocations: 15.38 kB / 0.5838 GB, free: 4.32 MB / 494.1 MB Notification: Performance of SimCode: time 1.412e-06/0.1386, allocations: 0 / 0.5838 GB, free: 4.32 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1563/0.2949, allocations: 0.8093 MB / 0.5846 GB, free: 3.621 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.2952, allocations: 180.2 kB / 0.5848 GB, free: 3.371 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.076, allocations: 3.938 kB / 0.5848 GB, free: 3.367 MB / 494.1 MB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)