Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",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.001391/0.001391, allocations: 96.27 kB / 15.69 MB, free: 480 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.001791/0.001791, allocations: 176 kB / 16.57 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.527/2.527, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.26/1.26, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007147/0.0007151, allocations: 11.98 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3021, allocations: 77.1 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.9621/1.264, allocations: 114.3 MB / 0.6683 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/1.265, allocations: 491.6 kB / 0.6688 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.102e-05/1.265, allocations: 0 / 0.6688 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/1.266, allocations: 3.938 kB / 0.6688 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.027e-05/1.266, allocations: 7.984 kB / 0.6688 GB, free: 6.953 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/1.267, allocations: 195.5 kB / 0.669 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/1.267, allocations: 27.89 kB / 0.669 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.763e-05/1.267, allocations: 4 kB / 0.669 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.172e-05/1.267, allocations: 11.98 kB / 0.669 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.378e-05/1.267, allocations: 4 kB / 0.669 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/1.267, allocations: 0 / 0.669 GB, free: 6.715 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006928/1.268, allocations: 187.6 kB / 0.6692 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/1.268, allocations: 8 kB / 0.6692 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.126e-05/1.268, allocations: 29.7 kB / 0.6693 GB, free: 6.488 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/1.269, allocations: 96.59 kB / 0.6693 GB, free: 6.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.269, allocations: 0 / 0.6693 GB, free: 6.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.515e-06/1.269, allocations: 0 / 0.6693 GB, free: 6.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/1.269, allocations: 0 / 0.6693 GB, free: 6.398 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005928/1.269, allocations: 353.7 kB / 0.6697 GB, free: 6.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.269, allocations: 12.03 kB / 0.6697 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.137e-05/1.269, allocations: 34.5 kB / 0.6697 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.563e-05/1.269, allocations: 0.7812 kB / 0.6697 GB, free: 5.957 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/1.27, allocations: 167.1 kB / 0.6699 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.444e-05/1.27, allocations: 29.7 kB / 0.6699 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/1.27, allocations: 7.953 kB / 0.6699 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/1.27, allocations: 41.67 kB / 0.67 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/1.27, allocations: 0 / 0.67 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/1.27, allocations: 0 / 0.67 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/1.27, allocations: 4 kB / 0.67 GB, free: 5.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/1.27, allocations: 15.98 kB / 0.67 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/1.271, allocations: 0.6027 MB / 0.6706 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.968e-05/1.271, allocations: 14.58 kB / 0.6706 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003431/1.272, allocations: 328.5 kB / 0.6709 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/1.272, allocations: 38.55 kB / 0.6709 GB, free: 4.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.572e-06/1.272, allocations: 4 kB / 0.6709 GB, free: 4.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002462/1.272, allocations: 37.64 kB / 0.671 GB, free: 4.406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/1.272, allocations: 51.41 kB / 0.671 GB, free: 4.344 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/1.272, allocations: 101.8 kB / 0.6711 GB, free: 4.234 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/1.272, allocations: 25.7 kB / 0.6711 GB, free: 4.203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/1.272, allocations: 88.05 kB / 0.6712 GB, free: 4.113 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-05/1.272, allocations: 7.938 kB / 0.6712 GB, free: 4.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/1.272, allocations: 0 / 0.6712 GB, free: 4.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/1.273, allocations: 315 kB / 0.6715 GB, free: 3.789 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/1.273, allocations: 7.984 kB / 0.6715 GB, free: 3.781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-05/1.273, allocations: 13.72 kB / 0.6716 GB, free: 3.762 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.094e-05/1.273, allocations: 4 kB / 0.6716 GB, free: 3.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/1.273, allocations: 3.953 kB / 0.6716 GB, free: 3.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001225/1.273, allocations: 53.62 kB / 0.6716 GB, free: 3.695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/1.273, allocations: 7.938 kB / 0.6716 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/1.273, allocations: 4.062 kB / 0.6716 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/1.273, allocations: 0 / 0.6716 GB, free: 3.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.218e-05/1.273, allocations: 8 kB / 0.6716 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.273, allocations: 0 / 0.6716 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.367e-05/1.273, allocations: 3.906 kB / 0.6716 GB, free: 3.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/1.273, allocations: 11.92 kB / 0.6716 GB, free: 3.66 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 (3): * Single equations (assignments): 3 * 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 0.0001322/1.273, allocations: 109.8 kB / 0.6718 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/1.273, allocations: 3.953 kB / 0.6718 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/1.274, allocations: 120.9 kB / 0.6719 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.457e-05/1.274, allocations: 180.2 kB / 0.672 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.613e-05/1.274, allocations: 184.2 kB / 0.6722 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.294e-05/1.274, allocations: 180.3 kB / 0.6724 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/1.274, allocations: 409.2 kB / 0.6728 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.656e-05/1.274, allocations: 105 kB / 0.6729 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.863e-05/1.274, allocations: 108.9 kB / 0.673 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-05/1.274, allocations: 180.2 kB / 0.6732 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-05/1.275, allocations: 184.2 kB / 0.6733 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.022e-05/1.275, allocations: 180.2 kB / 0.6735 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.833e-05/1.275, allocations: 177.9 kB / 0.6737 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/1.275, allocations: 307.8 kB / 0.674 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/1.275, allocations: 186.1 kB / 0.6741 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.275, allocations: 184.2 kB / 0.6743 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/1.275, allocations: 109 kB / 0.6744 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/1.276, allocations: 184.5 kB / 0.6746 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.818e-05/1.276, allocations: 104.9 kB / 0.6747 GB, free: 320 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.131e-05/1.276, allocations: 86.41 kB / 0.6748 GB, free: 236 kB / 494.1 MB Notification: Performance of sort global known variables: time 3.6e-07/1.276, allocations: 0 / 0.6748 GB, free: 236 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005741/1.276, allocations: 55.92 kB / 0.6748 GB, free: 180 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0009336/1.277, allocations: 0.8834 MB / 0.6757 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001315/1.277, allocations: 12.27 kB / 0.6757 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.277, allocations: 4.125 kB / 0.6757 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/1.277, allocations: 0 / 0.6757 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/1.278, allocations: 0.5387 MB / 0.6762 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/1.279, allocations: 253.8 kB / 0.6765 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/1.279, allocations: 0.677 MB / 0.6771 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.065e-05/1.279, allocations: 7.984 kB / 0.6772 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/1.279, allocations: 11.44 kB / 0.6772 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of SimCode: time 6.32e-07/1.279, allocations: 0 / 0.6772 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/1.299, allocations: 1.933 MB / 0.6791 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003493/1.3, allocations: 187.8 kB / 0.6792 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/4.245, allocations: 0 / 0.6792 GB, free: 11.67 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: