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.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.00091/0.00091, allocations: 80.53 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001281/0.001281, allocations: 169.9 kB / 23.2 MB, free: 1.363 MB / 18.57 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 0.9489/0.9489, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5907/0.5907, allocations: 114 MB / 373.9 MB, free: 8.719 MB / 346.7 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.5541 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.908e-05, allocations: 2.984 kB / 0.5542 GB, free: 2.836 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4183/0.4183, allocations: 130.4 MB / 0.6815 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001759/0.4185, allocations: 53.89 kB / 0.6815 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.828e-05/0.4185, allocations: 0 / 0.6815 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.4186, allocations: 10.22 kB / 0.6815 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.4187, allocations: 11.56 kB / 0.6815 GB, free: 41.85 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.4195, allocations: 217.1 kB / 0.6817 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.47e-05/0.4196, allocations: 37.16 kB / 0.6818 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.4196, allocations: 1.484 kB / 0.6818 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.4197, allocations: 21.23 kB / 0.6818 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.4198, allocations: 10.94 kB / 0.6818 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.4198, allocations: 5.609 kB / 0.6818 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002855/0.4201, allocations: 160 kB / 0.682 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.4201, allocations: 12.69 kB / 0.682 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.4201, allocations: 5.25 kB / 0.682 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.4204, allocations: 115.6 kB / 0.6821 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.4204, allocations: 0.6875 kB / 0.6821 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4204, allocations: 0 / 0.6821 GB, free: 41.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.4204, allocations: 0.5625 kB / 0.6821 GB, free: 41.84 MB / 0.6355 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.0003359/0.4207, allocations: 268.1 kB / 0.6823 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4207, allocations: 11 kB / 0.6824 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.514e-05/0.4208, allocations: 35.06 kB / 0.6824 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.421, allocations: 26 kB / 0.6824 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.078e-05/0.4211, allocations: 108.8 kB / 0.6825 GB, free: 41.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/0.4211, allocations: 62.72 kB / 0.6826 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.016e-06/0.4211, allocations: 0.8125 kB / 0.6826 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.4213, allocations: 75.23 kB / 0.6827 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.4213, allocations: 1.406 kB / 0.6827 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4213, allocations: 1.5 kB / 0.6827 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.4213, allocations: 5.828 kB / 0.6827 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.4213, allocations: 26.58 kB / 0.6827 GB, free: 41.28 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.4216, allocations: 227.3 kB / 0.6829 GB, free: 41.05 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.363e-05/0.4216, allocations: 21.98 kB / 0.6829 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.4216, allocations: 8.172 kB / 0.6829 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-05/0.4217, allocations: 15.62 kB / 0.6829 GB, free: 41.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.4218, allocations: 35.91 kB / 0.683 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4218, allocations: 0 / 0.683 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001884/0.4219, allocations: 52.67 kB / 0.683 GB, free: 40.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.422, allocations: 54.12 kB / 0.6831 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.422, allocations: 106.8 kB / 0.6832 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.422, allocations: 25.7 kB / 0.6832 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.4221, allocations: 97.22 kB / 0.6833 GB, free: 40.67 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-06/0.4221, allocations: 3.953 kB / 0.6833 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.4221, allocations: 18.62 kB / 0.6833 GB, free: 40.65 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.661e-05/0.4221, allocations: 316.9 kB / 0.6836 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.4221, allocations: 6.5 kB / 0.6836 GB, free: 40.33 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.4222, allocations: 24.56 kB / 0.6837 GB, free: 40.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.4222, allocations: 34.5 kB / 0.6837 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4222, allocations: 6.25 kB / 0.6837 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.412e-05/0.4223, allocations: 56.64 kB / 0.6837 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4223, allocations: 3.25 kB / 0.6838 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4223, allocations: 2.938 kB / 0.6838 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.4223, allocations: 0 / 0.6838 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.4223, allocations: 9.688 kB / 0.6838 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4223, allocations: 0 / 0.6838 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.4224, allocations: 2.938 kB / 0.6838 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.4224, allocations: 0.9375 kB / 0.6838 GB, free: 40.25 MB / 0.6355 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 4.725e-05/0.4224, allocations: 120.6 kB / 0.6839 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.4224, allocations: 2.969 kB / 0.6839 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.4225, allocations: 7.953 kB / 0.6839 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.4225, allocations: 1.578 kB / 0.6839 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4225, allocations: 0 / 0.6839 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4225, allocations: 3.906 kB / 0.6839 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4226, allocations: 336.7 kB / 0.6842 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4226, allocations: 0.8438 kB / 0.6842 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-06/0.4226, allocations: 3.094 kB / 0.6842 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4226, allocations: 3.562 kB / 0.6842 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.4227, allocations: 1.969 kB / 0.6842 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.4227, allocations: 3.188 kB / 0.6842 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4227, allocations: 7.875 kB / 0.6842 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.513e-05/0.4227, allocations: 67.45 kB / 0.6843 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-06/0.4227, allocations: 8.094 kB / 0.6843 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.4227, allocations: 0.75 kB / 0.6843 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.4228, allocations: 7.234 kB / 0.6843 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.4228, allocations: 9.875 kB / 0.6843 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.4228, allocations: 3.094 kB / 0.6843 GB, free: 39.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.831e-05/0.4228, allocations: 83.73 kB / 0.6844 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4228, allocations: 0 / 0.6844 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001261/0.4229, allocations: 6.125 kB / 0.6844 GB, free: 39.62 MB / 0.6355 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.0001945/0.4231, allocations: 0.6044 MB / 0.685 GB, free: 39.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.342e-05/0.4232, allocations: 17.12 kB / 0.685 GB, free: 39.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4232, allocations: 2.938 kB / 0.685 GB, free: 39.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-06/0.4232, allocations: 7.219 kB / 0.685 GB, free: 39.03 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.4235, allocations: 17.94 kB / 0.685 GB, free: 39.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.4238, allocations: 143.9 kB / 0.6852 GB, free: 38.88 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.4238, allocations: 61.16 kB / 0.6852 GB, free: 38.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.659e-05/0.4239, allocations: 10.2 kB / 0.6853 GB, free: 38.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.4239, allocations: 11.16 kB / 0.6853 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.4239, allocations: 1.094 kB / 0.6853 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.442, allocations: 2.132 MB / 0.6873 GB, free: 37.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/7.362, allocations: 5.656 kB / 0.6874 GB, free: 37.99 MB / 0.6355 GB " [Timeout remaining time 653] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.920698929578066] Failed to read output from testmodel.py, exit status != 0: 7.441517109051347 7.452878531 7.030684749 Calling exit ...