Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.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.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.001715/0.001715, allocations: 99.86 kB / 15.69 MB, free: 476 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.002037/0.002037, allocations: 174.9 kB / 16.57 MB, free: 6.387 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.569/2.569, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.218/1.218, allocations: 113.7 MB / 405.3 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006273/0.0006274, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2697, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.9252/1.195, allocations: 125.2 MB / 0.679 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003972/1.195, allocations: 139.7 kB / 0.6792 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/1.195, allocations: 0 / 0.6792 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/1.196, allocations: 3.938 kB / 0.6792 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.312e-05/1.196, allocations: 8.812 kB / 0.6792 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/1.197, allocations: 147.6 kB / 0.6793 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000102/1.197, allocations: 23.95 kB / 0.6793 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/1.197, allocations: 0 / 0.6793 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/1.197, allocations: 11.94 kB / 0.6793 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.756e-05/1.197, allocations: 7.984 kB / 0.6793 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/1.197, allocations: 4 kB / 0.6793 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/1.198, allocations: 107.8 kB / 0.6795 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.166e-05/1.198, allocations: 11.98 kB / 0.6795 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/1.198, allocations: 29.64 kB / 0.6795 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/1.198, allocations: 54.12 kB / 0.6795 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.198, allocations: 4 kB / 0.6795 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.228e-06/1.198, allocations: 0 / 0.6795 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.664e-06/1.198, allocations: 0 / 0.6795 GB, free: 12.41 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006271/1.199, allocations: 332.2 kB / 0.6799 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/1.199, allocations: 8.031 kB / 0.6799 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.171e-05/1.199, allocations: 38.56 kB / 0.6799 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005634/1.2, allocations: 24.75 kB / 0.6799 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/1.2, allocations: 159.1 kB / 0.6801 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.14e-05/1.2, allocations: 37.59 kB / 0.6801 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/1.2, allocations: 0 / 0.6801 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/1.2, allocations: 49.67 kB / 0.6802 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.2, allocations: 4 kB / 0.6802 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/1.2, allocations: 0 / 0.6802 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/1.2, allocations: 0 / 0.6802 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.232e-05/1.2, allocations: 19.98 kB / 0.6802 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/1.201, allocations: 265.5 kB / 0.6804 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.311e-05/1.201, allocations: 30.52 kB / 0.6805 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/1.201, allocations: 0 / 0.6805 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.201, allocations: 34.62 kB / 0.6805 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/1.201, allocations: 0 / 0.6805 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003662/1.202, allocations: 49.69 kB / 0.6806 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/1.202, allocations: 59.52 kB / 0.6806 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/1.202, allocations: 105.8 kB / 0.6807 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/1.202, allocations: 25.7 kB / 0.6807 GB, free: 11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/1.202, allocations: 87.98 kB / 0.6808 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/1.202, allocations: 15.88 kB / 0.6808 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/1.202, allocations: 7.938 kB / 0.6808 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.202, allocations: 314.8 kB / 0.6811 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/1.202, allocations: 4 kB / 0.6811 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.363e-05/1.202, allocations: 25.7 kB / 0.6812 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/1.202, allocations: 8 kB / 0.6812 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.202, allocations: 0 / 0.6812 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001572/1.203, allocations: 57.62 kB / 0.6812 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.203, allocations: 4 kB / 0.6812 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.203, allocations: 0 / 0.6812 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/1.203, allocations: 4 kB / 0.6812 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/1.203, allocations: 8.312 kB / 0.6812 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/1.203, allocations: 4.906 kB / 0.6813 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.58e-05/1.203, allocations: 4 kB / 0.6813 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/1.203, allocations: 0 / 0.6813 GB, free: 10.44 MB / 0.4981 GB 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 (4): * Single equations (assignments): 4 * 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.0001662/1.203, allocations: 113.7 kB / 0.6814 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/1.203, allocations: 11.91 kB / 0.6814 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/1.203, allocations: 7.109 kB / 0.6814 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.203, allocations: 0 / 0.6814 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/1.203, allocations: 0 / 0.6814 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.203, allocations: 0 / 0.6814 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/1.204, allocations: 381.5 kB / 0.6817 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.204, allocations: 0 / 0.6817 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/1.204, allocations: 4 kB / 0.6818 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/1.204, allocations: 0 / 0.6818 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/1.204, allocations: 0 / 0.6818 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.204, allocations: 0 / 0.6818 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.204, allocations: 3.938 kB / 0.6818 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/1.204, allocations: 87.72 kB / 0.6818 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.785e-05/1.204, allocations: 85.11 kB / 0.6819 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/1.204, allocations: 0 / 0.6819 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/1.204, allocations: 7.984 kB / 0.6819 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/1.204, allocations: 0 / 0.6819 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/1.204, allocations: 3.953 kB / 0.6819 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.193e-05/1.205, allocations: 83.31 kB / 0.682 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/1.205, allocations: 0 / 0.682 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003634/1.205, allocations: 8 kB / 0.682 GB, free: 9.535 MB / 0.4981 GB 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.0007247/1.206, allocations: 0.6999 MB / 0.6827 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000133/1.206, allocations: 16 kB / 0.6827 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.206, allocations: 0 / 0.6827 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.156e-05/1.206, allocations: 11.94 kB / 0.6827 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/1.206, allocations: 10.69 kB / 0.6827 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/1.207, allocations: 159.8 kB / 0.6829 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/1.207, allocations: 0.6809 MB / 0.6836 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001076/1.207, allocations: 11.98 kB / 0.6836 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/1.207, allocations: 11.44 kB / 0.6836 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of SimCode: time 3.126e-06/1.207, allocations: 0 / 0.6836 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/1.227, allocations: 1.241 MB / 0.6848 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/1.227, allocations: 176.1 kB / 0.685 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/4.232, allocations: 0 / 0.685 GB, free: 6.508 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: