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.001399/0.001399, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001636/0.001636, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.317/1.317, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7322/0.7322, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 64.27 kB / 0.5012 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1317, allocations: 80.2 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001399/0.1331, allocations: 0.5794 MB / 0.58 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 9.629e-05/0.1332, allocations: 15.97 kB / 0.5801 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.813e-05/0.1333, allocations: 0 / 0.5801 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.1333, allocations: 0 / 0.5801 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1334, allocations: 11.92 kB / 0.5801 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.565e-06/0.1334, allocations: 0 / 0.5801 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.082e-05/0.1334, allocations: 0 / 0.5801 GB, free: 8.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.1335, allocations: 7.938 kB / 0.5801 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.1335, allocations: 0 / 0.5801 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.717e-05/0.1335, allocations: 0 / 0.5801 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.1335, allocations: 0 / 0.5801 GB, free: 8.539 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-06/0.1335, allocations: 4 kB / 0.5801 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.1336, allocations: 0 / 0.5801 GB, free: 8.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.239e-05/0.1336, allocations: 3.984 kB / 0.5801 GB, free: 8.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.781e-05/0.1336, allocations: 4 kB / 0.5801 GB, free: 8.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1336, allocations: 3.938 kB / 0.5801 GB, free: 8.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1336, allocations: 0 / 0.5801 GB, free: 8.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.1336, allocations: 0 / 0.5801 GB, free: 8.523 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.0002207/0.1339, allocations: 316.8 kB / 0.5804 GB, free: 8.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1339, allocations: 8.031 kB / 0.5804 GB, free: 8.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.1339, allocations: 30.75 kB / 0.5804 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.852e-05/0.134, allocations: 8.922 kB / 0.5804 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.959e-05/0.134, allocations: 168.3 kB / 0.5806 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.815e-06/0.134, allocations: 384 / 0.5806 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.1341, allocations: 384 / 0.5806 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.424e-05/0.1341, allocations: 51.34 kB / 0.5807 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.1342, allocations: 3.938 kB / 0.5807 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.45e-06/0.1342, allocations: 0 / 0.5807 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1342, allocations: 0 / 0.5807 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.1342, allocations: 11.94 kB / 0.5807 GB, free: 7.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.1343, allocations: 154.5 kB / 0.5808 GB, free: 7.629 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.955e-05/0.1344, allocations: 33.22 kB / 0.5808 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.1344, allocations: 21.84 kB / 0.5809 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1344, allocations: 3.938 kB / 0.5809 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.1344, allocations: 38.5 kB / 0.5809 GB, free: 7.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1344, allocations: 0 / 0.5809 GB, free: 7.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001118/0.1345, allocations: 53.53 kB / 0.581 GB, free: 7.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1346, allocations: 77.11 kB / 0.581 GB, free: 7.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.677e-05/0.1346, allocations: 89.86 kB / 0.5811 GB, free: 7.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1346, allocations: 25.7 kB / 0.5811 GB, free: 7.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.832e-05/0.1347, allocations: 80.39 kB / 0.5812 GB, free: 7.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1347, allocations: 8.281 kB / 0.5812 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1347, allocations: 9.719 kB / 0.5812 GB, free: 7.113 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.669e-05/0.1348, allocations: 318.8 kB / 0.5815 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.1348, allocations: 4 kB / 0.5815 GB, free: 6.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.167e-05/0.1348, allocations: 9.719 kB / 0.5816 GB, free: 6.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.1349, allocations: 25.72 kB / 0.5816 GB, free: 6.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1349, allocations: 0 / 0.5816 GB, free: 6.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.387e-05/0.1349, allocations: 45.62 kB / 0.5816 GB, free: 6.691 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.1349, allocations: 4 kB / 0.5816 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1349, allocations: 0 / 0.5816 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.217e-06/0.135, allocations: 7.938 kB / 0.5816 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.135, allocations: 3.938 kB / 0.5816 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.135, allocations: 4 kB / 0.5816 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.135, allocations: 7.844 kB / 0.5817 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.1351, allocations: 64 / 0.5817 GB, free: 6.664 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 4.926e-05/0.1351, allocations: 114.5 kB / 0.5818 GB, free: 6.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.1351, allocations: 7.938 kB / 0.5818 GB, free: 6.535 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.624e-05/0.1352, allocations: 44.75 kB / 0.5818 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1352, allocations: 0 / 0.5818 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1352, allocations: 4 kB / 0.5818 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1352, allocations: 4 kB / 0.5818 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.199e-05/0.1353, allocations: 149.7 kB / 0.582 GB, free: 6.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1353, allocations: 4 kB / 0.582 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.1353, allocations: 7.938 kB / 0.582 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1354, allocations: 0 / 0.582 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1354, allocations: 0 / 0.582 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.1354, allocations: 4 kB / 0.582 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1354, allocations: 3.938 kB / 0.582 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.318e-05/0.1354, allocations: 73.92 kB / 0.5821 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.45e-05/0.1355, allocations: 81.05 kB / 0.5821 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.1355, allocations: 4 kB / 0.5821 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.507e-05/0.1355, allocations: 3.984 kB / 0.5821 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.1355, allocations: 0 / 0.5821 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.1355, allocations: 0 / 0.5821 GB, free: 6.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.117e-05/0.1356, allocations: 79.28 kB / 0.5822 GB, free: 5.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1356, allocations: 4 kB / 0.5822 GB, free: 5.977 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001637/0.1357, allocations: 0 / 0.5822 GB, free: 5.977 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.0002564/0.136, allocations: 0.6054 MB / 0.5828 GB, free: 5.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.225e-05/0.136, allocations: 4 kB / 0.5828 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1361, allocations: 0 / 0.5828 GB, free: 5.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.1361, allocations: 12.16 kB / 0.5828 GB, free: 5.324 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.1362, allocations: 6.812 kB / 0.5828 GB, free: 5.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.1364, allocations: 125.1 kB / 0.5829 GB, free: 5.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001647/0.1366, allocations: 0.6692 MB / 0.5836 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.741e-05/0.1366, allocations: 4 kB / 0.5836 GB, free: 4.453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.1367, allocations: 11.42 kB / 0.5836 GB, free: 4.445 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1367, allocations: 4.125 kB / 0.5836 GB, free: 4.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4036/0.5403, allocations: 0.7817 MB / 0.5844 GB, free: 3.754 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/0.5406, allocations: 181 kB / 0.5846 GB, free: 3.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.103, allocations: 0 / 0.5846 GB, free: 3.5 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)