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.0009999/0.0009999, allocations: 104.6 kB / 16.27 MB, free: 5.98 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.0009657/0.0009657, allocations: 186.5 kB / 17.19 MB, free: 5.609 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.174/1.174, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6759/0.6759, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001364, allocations: 63.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.263, allocations: 77.93 MB / 0.5673 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1286/0.3916, allocations: 148.3 MB / 0.7121 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.3918, allocations: 59.84 kB / 0.7121 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.3918, allocations: 4 kB / 0.7121 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.209e-05/0.3919, allocations: 7.875 kB / 0.7121 GB, free: 5.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.392, allocations: 11.92 kB / 0.7121 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.3926, allocations: 211.2 kB / 0.7123 GB, free: 5.734 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.3927, allocations: 31.92 kB / 0.7124 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 2.982e-05/0.3927, allocations: 4 kB / 0.7124 GB, free: 5.699 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.68e-05/0.3928, allocations: 23.91 kB / 0.7124 GB, free: 5.676 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.97e-05/0.3928, allocations: 7.984 kB / 0.7124 GB, free: 5.668 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.3928, allocations: 3.938 kB / 0.7124 GB, free: 5.664 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003667/0.3932, allocations: 199.5 kB / 0.7126 GB, free: 5.469 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.3933, allocations: 7.984 kB / 0.7126 GB, free: 5.461 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.544e-05/0.3933, allocations: 11.98 kB / 0.7126 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3935, allocations: 110 kB / 0.7127 GB, free: 5.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3935, allocations: 0 / 0.7127 GB, free: 5.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3935, allocations: 0 / 0.7127 GB, free: 5.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.3935, allocations: 4 kB / 0.7127 GB, free: 5.34 MB / 0.545 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.0003148/0.3939, allocations: 347.4 kB / 0.7131 GB, free: 4.953 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.3939, allocations: 12.62 kB / 0.7131 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.3939, allocations: 30.75 kB / 0.7131 GB, free: 4.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.3942, allocations: 24.89 kB / 0.7131 GB, free: 4.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.035e-05/0.3943, allocations: 168.1 kB / 0.7133 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.3944, allocations: 29.69 kB / 0.7133 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-06/0.3944, allocations: 0 / 0.7133 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.3945, allocations: 53.62 kB / 0.7134 GB, free: 4.582 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.3945, allocations: 7.922 kB / 0.7134 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3945, allocations: 4 kB / 0.7134 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.3945, allocations: 0 / 0.7134 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.3946, allocations: 19.98 kB / 0.7134 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.3949, allocations: 256.9 kB / 0.7136 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.436e-05/0.3949, allocations: 34.55 kB / 0.7137 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.3949, allocations: 4.859 kB / 0.7137 GB, free: 4.199 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.3951, allocations: 97.16 kB / 0.7138 GB, free: 4.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.3951, allocations: 30.56 kB / 0.7138 GB, free: 4.047 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3951, allocations: 0 / 0.7138 GB, free: 4.047 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002019/0.3953, allocations: 57.69 kB / 0.7139 GB, free: 3.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.3954, allocations: 55.34 kB / 0.7139 GB, free: 3.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.3954, allocations: 101.8 kB / 0.714 GB, free: 3.809 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3954, allocations: 25.7 kB / 0.714 GB, free: 3.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.3955, allocations: 91.98 kB / 0.7141 GB, free: 3.684 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-06/0.3955, allocations: 3.938 kB / 0.7141 GB, free: 3.68 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.3955, allocations: 21.62 kB / 0.7141 GB, free: 3.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.3956, allocations: 314.9 kB / 0.7144 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.3956, allocations: 7.984 kB / 0.7144 GB, free: 3.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/0.3957, allocations: 26.52 kB / 0.7145 GB, free: 3.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.3957, allocations: 30.56 kB / 0.7145 GB, free: 3.254 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3957, allocations: 0 / 0.7145 GB, free: 3.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.751e-05/0.3958, allocations: 57.58 kB / 0.7146 GB, free: 3.191 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.3958, allocations: 8 kB / 0.7146 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.3958, allocations: 0 / 0.7146 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.3958, allocations: 3.984 kB / 0.7146 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.83e-05/0.3959, allocations: 8 kB / 0.7146 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.3959, allocations: 3.938 kB / 0.7146 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.3959, allocations: 0 / 0.7146 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.3959, allocations: 4 kB / 0.7146 GB, free: 3.164 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/0.396, allocations: 113.9 kB / 0.7147 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.396, allocations: 4 kB / 0.7147 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.401e-05/0.3961, allocations: 3.125 kB / 0.7147 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3961, allocations: 0 / 0.7147 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3961, allocations: 7.922 kB / 0.7147 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.3961, allocations: 3.938 kB / 0.7147 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.3963, allocations: 363.5 kB / 0.7151 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3963, allocations: 4.062 kB / 0.7151 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.3964, allocations: 15.92 kB / 0.7151 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3964, allocations: 0 / 0.7151 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.3964, allocations: 0 / 0.7151 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3964, allocations: 0 / 0.7151 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3964, allocations: 0 / 0.7151 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.968e-05/0.3965, allocations: 74.22 kB / 0.7151 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.3965, allocations: 89.06 kB / 0.7152 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.3965, allocations: 4 kB / 0.7152 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.3966, allocations: 7.984 kB / 0.7152 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.3966, allocations: 4 kB / 0.7152 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.3966, allocations: 0 / 0.7152 GB, free: 2.375 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.115e-05/0.3967, allocations: 83.27 kB / 0.7153 GB, free: 2.293 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.3967, allocations: 0 / 0.7153 GB, free: 2.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000181/0.3968, allocations: 4 kB / 0.7153 GB, free: 2.289 MB / 0.545 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 (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.0002904/0.3971, allocations: 0.6132 MB / 0.7159 GB, free: 1.645 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.565e-05/0.3972, allocations: 19.94 kB / 0.7159 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3972, allocations: 224 / 0.7159 GB, free: 1.625 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.969e-06/0.3973, allocations: 8 kB / 0.716 GB, free: 1.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.3975, allocations: 15.83 kB / 0.716 GB, free: 1.605 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.3978, allocations: 156.9 kB / 0.7161 GB, free: 1.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.398, allocations: 0.6768 MB / 0.7168 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.092e-05/0.398, allocations: 8.125 kB / 0.7168 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.3981, allocations: 15.38 kB / 0.7168 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.3981, allocations: 0 / 0.7168 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.228/1.626, allocations: 1.424 MB / 0.7182 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.786/9.412, allocations: 11.95 kB / 0.7182 GB, free: 15.36 MB / 0.5606 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/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)