Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_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.001/0.001, allocations: 86.8 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.001265/0.001264, 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 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9769/0.9769, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 11.94 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1611, allocations: 82.31 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.0005444/0.1616, allocations: 242.9 kB / 0.5877 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001061/0.1618, allocations: 11.94 kB / 0.5877 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.773e-05/0.1618, allocations: 4 kB / 0.5877 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.958e-06/0.1618, allocations: 0 / 0.5877 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1619, allocations: 7.938 kB / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.675e-06/0.1619, allocations: 0 / 0.5877 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.513e-05/0.162, allocations: 4 kB / 0.5877 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.519e-05/0.162, allocations: 3.938 kB / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.14e-05/0.162, allocations: 0 / 0.5877 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.1621, allocations: 3.984 kB / 0.5877 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.1621, allocations: 0 / 0.5877 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.44e-06/0.1621, allocations: 0 / 0.5877 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.919e-06/0.1621, allocations: 0 / 0.5877 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.1621, allocations: 33.7 kB / 0.5878 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.429e-05/0.1622, allocations: 7.922 kB / 0.5878 GB, free: 2.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1622, allocations: 0 / 0.5878 GB, free: 2.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1622, allocations: 0 / 0.5878 GB, free: 2.566 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.105e-06/0.1622, allocations: 0 / 0.5878 GB, free: 2.566 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.0002087/0.1624, allocations: 307.4 kB / 0.5881 GB, free: 2.219 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1625, allocations: 8.031 kB / 0.5881 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.1625, allocations: 30.56 kB / 0.5881 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.622e-05/0.1625, allocations: 0 / 0.5881 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.1626, allocations: 171 kB / 0.5883 GB, free: 1.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1626, allocations: 4 kB / 0.5883 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.295e-06/0.1626, allocations: 4 kB / 0.5883 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.168e-05/0.1627, allocations: 43.42 kB / 0.5883 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1627, allocations: 0 / 0.5883 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.112e-06/0.1628, allocations: 0 / 0.5883 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.1628, allocations: 0 / 0.5883 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.1628, allocations: 7.938 kB / 0.5883 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.1629, allocations: 162.5 kB / 0.5885 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.652e-05/0.163, allocations: 41.16 kB / 0.5885 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.163, allocations: 9.719 kB / 0.5885 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.163, allocations: 4.125 kB / 0.5885 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.1631, allocations: 34.56 kB / 0.5886 GB, free: 1.562 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.384e-06/0.1631, allocations: 0 / 0.5886 GB, free: 1.562 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000129/0.1632, allocations: 53.47 kB / 0.5886 GB, free: 1.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.1632, allocations: 81.11 kB / 0.5887 GB, free: 1.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.281e-05/0.1633, allocations: 89.86 kB / 0.5888 GB, free: 1.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1633, allocations: 25.7 kB / 0.5888 GB, free: 1.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.1633, allocations: 80.14 kB / 0.5889 GB, free: 1.195 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.1634, allocations: 288 / 0.5889 GB, free: 1.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.1634, allocations: 256 / 0.5889 GB, free: 1.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1635, allocations: 326.8 kB / 0.5892 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.1635, allocations: 4 kB / 0.5892 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.1635, allocations: 13.66 kB / 0.5892 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.106e-05/0.1635, allocations: 7.953 kB / 0.5892 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1636, allocations: 0 / 0.5892 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.987e-05/0.1636, allocations: 41.81 kB / 0.5892 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1637, allocations: 15.94 kB / 0.5893 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1637, allocations: 0 / 0.5893 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1637, allocations: 0 / 0.5893 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.1637, allocations: 7.938 kB / 0.5893 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1638, allocations: 0 / 0.5893 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.1638, allocations: 7.844 kB / 0.5893 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.1638, allocations: 0 / 0.5893 GB, free: 0.7578 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.876e-05/0.1639, allocations: 113.8 kB / 0.5894 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-06/0.1639, allocations: 0 / 0.5894 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.568e-05/0.164, allocations: 52.75 kB / 0.5894 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.164, allocations: 0 / 0.5894 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.164, allocations: 4 kB / 0.5894 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.164, allocations: 3.984 kB / 0.5894 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.1641, allocations: 149.7 kB / 0.5896 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1641, allocations: 7.953 kB / 0.5896 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.1641, allocations: 0 / 0.5896 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1642, allocations: 4 kB / 0.5896 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-06/0.1642, allocations: 4.062 kB / 0.5896 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1642, allocations: 0 / 0.5896 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1642, allocations: 0 / 0.5896 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.067e-05/0.1643, allocations: 69.92 kB / 0.5897 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.1643, allocations: 85.06 kB / 0.5897 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.1643, allocations: 0 / 0.5897 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.1643, allocations: 7.953 kB / 0.5898 GB, free: 164 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.1644, allocations: 4 kB / 0.5898 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1644, allocations: 4 kB / 0.5898 GB, free: 156 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.95e-05/0.1644, allocations: 75.28 kB / 0.5898 GB, free: 80 kB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1644, allocations: 0 / 0.5898 GB, free: 80 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001768/0.1646, allocations: 0 / 0.5898 GB, free: 80 kB / 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 (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.0003358/0.1649, allocations: 0.6093 MB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.325e-05/0.165, allocations: 4 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.165, allocations: 4 kB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.298e-06/0.165, allocations: 4 kB / 0.5904 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1652, allocations: 1.312 kB / 0.5904 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.1654, allocations: 125.5 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.1657, allocations: 0.6692 MB / 0.5912 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.206e-05/0.1657, allocations: 7.984 kB / 0.5912 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.1657, allocations: 7.438 kB / 0.5912 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1657, allocations: 3.938 kB / 0.5912 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009359/0.1751, allocations: 0.7429 MB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.1753, allocations: 174.6 kB / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.738, allocations: 0 / 0.5921 GB, free: 13.69 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1) Environment - environmentSimulation: