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.00101/0.00101, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7331/0.7331, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.00126, allocations: 60.94 kB / 0.5019 GB, free: 8.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 80.2 MB / 0.5802 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001736/0.1299, allocations: 0.5056 MB / 0.5807 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001273/0.13, allocations: 15.92 kB / 0.5807 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.1301, allocations: 4 kB / 0.5807 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.1301, allocations: 0 / 0.5807 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.1302, allocations: 7.922 kB / 0.5807 GB, free: 8.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.596e-06/0.1302, allocations: 0 / 0.5807 GB, free: 8.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.021e-05/0.1303, allocations: 4 kB / 0.5807 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.1303, allocations: 0 / 0.5807 GB, free: 8.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.1304, allocations: 3.984 kB / 0.5807 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.1304, allocations: 7.938 kB / 0.5807 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1304, allocations: 0 / 0.5807 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-06/0.1304, allocations: 0 / 0.5807 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.1304, allocations: 0 / 0.5807 GB, free: 8.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.226e-05/0.1305, allocations: 4 kB / 0.5807 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.287e-05/0.1305, allocations: 0 / 0.5807 GB, free: 8.141 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1305, allocations: 0 / 0.5807 GB, free: 8.141 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1305, allocations: 4 kB / 0.5807 GB, free: 8.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1305, allocations: 0 / 0.5807 GB, free: 8.137 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.0002344/0.1308, allocations: 315.6 kB / 0.581 GB, free: 7.781 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1308, allocations: 8.031 kB / 0.581 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.758e-05/0.1308, allocations: 30.75 kB / 0.5811 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.1309, allocations: 8.875 kB / 0.5811 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.652e-05/0.1309, allocations: 160.4 kB / 0.5812 GB, free: 7.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.131, allocations: 4.375 kB / 0.5812 GB, free: 7.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-06/0.131, allocations: 4.375 kB / 0.5812 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.1311, allocations: 51.34 kB / 0.5813 GB, free: 7.461 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1311, allocations: 3.938 kB / 0.5813 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-06/0.1311, allocations: 0 / 0.5813 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1311, allocations: 0 / 0.5813 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.243e-05/0.1311, allocations: 7.938 kB / 0.5813 GB, free: 7.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.1313, allocations: 158.5 kB / 0.5814 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.68e-05/0.1313, allocations: 37.22 kB / 0.5815 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.279e-05/0.1314, allocations: 17.78 kB / 0.5815 GB, free: 7.164 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1314, allocations: 7.938 kB / 0.5815 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1314, allocations: 38.55 kB / 0.5815 GB, free: 7.109 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1314, allocations: 0 / 0.5815 GB, free: 7.109 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001244/0.1316, allocations: 45.62 kB / 0.5816 GB, free: 7.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1316, allocations: 81.11 kB / 0.5817 GB, free: 6.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.162e-05/0.1316, allocations: 89.86 kB / 0.5818 GB, free: 6.863 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1317, allocations: 25.7 kB / 0.5818 GB, free: 6.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.772e-05/0.1317, allocations: 80.14 kB / 0.5819 GB, free: 6.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.1317, allocations: 8.172 kB / 0.5819 GB, free: 6.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.1318, allocations: 17.97 kB / 0.5819 GB, free: 6.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.1319, allocations: 322.8 kB / 0.5822 GB, free: 6.395 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.739e-06/0.1319, allocations: 0 / 0.5822 GB, free: 6.395 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.1319, allocations: 13.72 kB / 0.5822 GB, free: 6.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.1319, allocations: 17.66 kB / 0.5822 GB, free: 6.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.1319, allocations: 0 / 0.5822 GB, free: 6.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.098e-05/0.132, allocations: 53.69 kB / 0.5823 GB, free: 6.293 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.132, allocations: 4 kB / 0.5823 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.132, allocations: 0 / 0.5823 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1321, allocations: 0 / 0.5823 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.1321, allocations: 7.938 kB / 0.5823 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1321, allocations: 0 / 0.5823 GB, free: 6.281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.1322, allocations: 7.938 kB / 0.5823 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1322, allocations: 0 / 0.5823 GB, free: 6.273 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 6.146e-05/0.1322, allocations: 110.6 kB / 0.5824 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.1322, allocations: 7.938 kB / 0.5824 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1324, allocations: 52.66 kB / 0.5824 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1324, allocations: 0 / 0.5824 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1324, allocations: 0 / 0.5824 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.1324, allocations: 3.984 kB / 0.5825 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.238e-05/0.1325, allocations: 153.6 kB / 0.5826 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1325, allocations: 0 / 0.5826 GB, free: 5.883 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.1325, allocations: 8 kB / 0.5826 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1325, allocations: 4 kB / 0.5826 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.1325, allocations: 0 / 0.5826 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1326, allocations: 0 / 0.5826 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1326, allocations: 11.98 kB / 0.5826 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.57e-05/0.1326, allocations: 65.94 kB / 0.5827 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1327, allocations: 81.05 kB / 0.5828 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.1327, allocations: 8.016 kB / 0.5828 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.648e-05/0.1327, allocations: 4 kB / 0.5828 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.1327, allocations: 0 / 0.5828 GB, free: 5.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.1327, allocations: 0 / 0.5828 GB, free: 5.664 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.229e-05/0.1328, allocations: 75.28 kB / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1328, allocations: 0 / 0.5828 GB, free: 5.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000188/0.133, allocations: 8 kB / 0.5829 GB, free: 5.582 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.0003086/0.1333, allocations: 0.6015 MB / 0.5834 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.351e-05/0.1334, allocations: 8 kB / 0.5834 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1334, allocations: 0 / 0.5834 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.1334, allocations: 11.94 kB / 0.5835 GB, free: 4.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.1335, allocations: 4.219 kB / 0.5835 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002843/0.1338, allocations: 127.4 kB / 0.5836 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.134, allocations: 0.6729 MB / 0.5842 GB, free: 4.059 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.1341, allocations: 3.984 kB / 0.5842 GB, free: 4.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.1341, allocations: 7.438 kB / 0.5843 GB, free: 4.051 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1341, allocations: 0 / 0.5843 GB, free: 4.051 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.468/2.602, allocations: 0.8863 MB / 0.5851 GB, free: 3.234 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/15.89, allocations: 6.688 kB / 0.5851 GB, free: 3.234 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)