Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 214.8 kB / 23.78 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.008/1.008, allocations: 150 MB / 463.9 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 66.69 kB / 0.642 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1921, allocations: 89.16 MB / 0.729 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5584/0.7506, allocations: 129.9 MB / 0.8558 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001657/0.7507, allocations: 47.09 kB / 0.8559 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.7507, allocations: 0 / 0.8559 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.7509, allocations: 6.719 kB / 0.8559 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.7509, allocations: 7.969 kB / 0.8559 GB, free: 1.938 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.7514, allocations: 114.3 kB / 0.856 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.383e-05/0.7515, allocations: 36.5 kB / 0.856 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.7515, allocations: 6.922 kB / 0.8561 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.7516, allocations: 7.188 kB / 0.8561 GB, free: 1.836 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.535e-05/0.7516, allocations: 20.34 kB / 0.8561 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.7516, allocations: 0 / 0.8561 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.7519, allocations: 66.5 kB / 0.8561 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.7519, allocations: 16.88 kB / 0.8562 GB, free: 1.773 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.7519, allocations: 13.59 kB / 0.8562 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.7521, allocations: 61.53 kB / 0.8562 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7521, allocations: 0 / 0.8562 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7521, allocations: 0 / 0.8562 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.7521, allocations: 0 / 0.8562 GB, free: 1.738 MB / 0.6231 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.0003977/0.7525, allocations: 266 kB / 0.8565 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.7525, allocations: 8.375 kB / 0.8565 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.494e-05/0.7526, allocations: 2.844 kB / 0.8565 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.7526, allocations: 34.69 kB / 0.8565 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.7528, allocations: 22.27 kB / 0.8565 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.746e-05/0.7529, allocations: 117.2 kB / 0.8567 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-05/0.753, allocations: 57.8 kB / 0.8567 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/0.753, allocations: 3.984 kB / 0.8567 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.7531, allocations: 78.09 kB / 0.8568 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.7531, allocations: 2.719 kB / 0.8568 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.7531, allocations: 2.062 kB / 0.8568 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.7532, allocations: 2.906 kB / 0.8568 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.7532, allocations: 15.77 kB / 0.8568 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.7536, allocations: 246.8 kB / 0.8571 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 3.949e-05/0.7536, allocations: 14.58 kB / 0.8571 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.7536, allocations: 7.484 kB / 0.8571 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.7536, allocations: 0 / 0.8571 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.7537, allocations: 33.09 kB / 0.8571 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.7537, allocations: 0 / 0.8571 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.000136/0.7538, allocations: 39.11 kB / 0.8571 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.7539, allocations: 55.47 kB / 0.8572 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.7539, allocations: 109.8 kB / 0.8573 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.754, allocations: 25.7 kB / 0.8573 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 6.408e-05/0.754, allocations: 86.25 kB / 0.8574 GB, free: 464 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-06/0.754, allocations: 7.266 kB / 0.8574 GB, free: 460 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.7541, allocations: 20.48 kB / 0.8574 GB, free: 436 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7542, allocations: 310.8 kB / 0.8577 GB, free: 116 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.7542, allocations: 5.156 kB / 0.8577 GB, free: 116 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/0.7543, allocations: 27.97 kB / 0.8578 GB, free: 84 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.586e-05/0.7543, allocations: 34.55 kB / 0.8578 GB, free: 48 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7543, allocations: 0 / 0.8578 GB, free: 48 kB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.966e-05/0.7544, allocations: 53 kB / 0.8578 GB, free: 4 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.7544, allocations: 6.969 kB / 0.8578 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7544, allocations: 0 / 0.8578 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7544, allocations: 2.531 kB / 0.8579 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.944e-05/0.7545, allocations: 8.875 kB / 0.8579 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7545, allocations: 4.203 kB / 0.8579 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.7545, allocations: 4.078 kB / 0.8579 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.7545, allocations: 11.34 kB / 0.8579 GB, free: 15.98 MB / 0.6387 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 8.693e-05/0.7546, allocations: 122.3 kB / 0.858 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.7547, allocations: 0.875 kB / 0.858 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.112e-05/0.7547, allocations: 5.875 kB / 0.858 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.7547, allocations: 3.938 kB / 0.858 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7547, allocations: 4.969 kB / 0.858 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.7547, allocations: 0 / 0.858 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.755, allocations: 316.3 kB / 0.8583 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.755, allocations: 0 / 0.8583 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.625e-05/0.755, allocations: 6.625 kB / 0.8583 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.755, allocations: 6.75 kB / 0.8583 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.755, allocations: 0 / 0.8583 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.755, allocations: 0 / 0.8583 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.755, allocations: 0 / 0.8583 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.955e-05/0.755, allocations: 65.06 kB / 0.8584 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.7551, allocations: 7.891 kB / 0.8584 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.7551, allocations: 6.562 kB / 0.8584 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.7552, allocations: 6.641 kB / 0.8584 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-06/0.7552, allocations: 0 / 0.8584 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.7552, allocations: 0 / 0.8584 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.036e-05/0.7552, allocations: 88.56 kB / 0.8585 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7552, allocations: 0 / 0.8585 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0001828/0.7554, allocations: 8.031 kB / 0.8585 GB, free: 15.31 MB / 0.6387 GB 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 (1): * Single equations (assignments): 1 * 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.0004159/0.7558, allocations: 0.5907 MB / 0.8591 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.792e-05/0.7559, allocations: 22.36 kB / 0.8591 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7559, allocations: 0 / 0.8591 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-06/0.7559, allocations: 2.75 kB / 0.8591 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.7561, allocations: 7.812 kB / 0.8591 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.7565, allocations: 141.2 kB / 0.8592 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.006e-05/0.7565, allocations: 60.16 kB / 0.8593 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.312e-05/0.7566, allocations: 7.359 kB / 0.8593 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.994e-05/0.7566, allocations: 10.22 kB / 0.8593 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.7566, allocations: 0 / 0.8593 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.7801, allocations: 1.567 MB / 0.8608 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.49, allocations: 11.61 kB / 0.8609 GB, free: 13.63 MB / 0.6387 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.383441569982097] Failed to read output from testmodel.py, exit status != 0: 12.659895309014246 12.686167306 11.928498679 Calling exit ...