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.00138/0.00138, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001524/0.001524, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.509/1.509, allocations: 230.6 MB / 254.2 MB, free: 15.09 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 0.9844/0.9844, allocations: 150 MB / 460.2 MB, free: 5.277 MB / 350.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirTemperatureEnthalpyInversion",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.002071/0.002071, allocations: 66.44 kB / 0.6368 GB, free: 30.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2612, allocations: 89.13 MB / 0.7238 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7247/0.9859, allocations: 151.6 MB / 0.8718 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0001717/0.986, allocations: 50.45 kB / 0.8719 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.9861, allocations: 3.781 kB / 0.8719 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.9862, allocations: 2.703 kB / 0.8719 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.9863, allocations: 16.17 kB / 0.8719 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.000867/0.9872, allocations: 216.8 kB / 0.8721 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.9873, allocations: 36.36 kB / 0.8721 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.9874, allocations: 2.688 kB / 0.8721 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.9874, allocations: 17.61 kB / 0.8722 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.735e-05/0.9875, allocations: 14.34 kB / 0.8722 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.9875, allocations: 1.094 kB / 0.8722 GB, free: 3.062 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004929/0.988, allocations: 214 kB / 0.8724 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.9881, allocations: 9.516 kB / 0.8724 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.9881, allocations: 11.12 kB / 0.8724 GB, free: 3.059 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.9885, allocations: 116.2 kB / 0.8725 GB, free: 3.055 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.9885, allocations: 1.516 kB / 0.8725 GB, free: 3.055 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9885, allocations: 0 / 0.8725 GB, free: 3.055 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.9885, allocations: 1.031 kB / 0.8725 GB, free: 3.055 MB / 0.67 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.0008419/0.9893, allocations: 346.5 kB / 0.8728 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.9894, allocations: 10.98 kB / 0.8729 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.934e-05/0.9894, allocations: 1.938 kB / 0.8729 GB, free: 18.7 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.9894, allocations: 34.89 kB / 0.8729 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004056/0.9899, allocations: 24.17 kB / 0.8729 GB, free: 18.66 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.99, allocations: 174.1 kB / 0.8731 GB, free: 18.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.049e-05/0.9901, allocations: 27.64 kB / 0.8731 GB, free: 18.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.9901, allocations: 3 kB / 0.8731 GB, free: 18.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.9903, allocations: 49.38 kB / 0.8732 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.9903, allocations: 1.062 kB / 0.8732 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.9903, allocations: 1.203 kB / 0.8732 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.9903, allocations: 2.641 kB / 0.8732 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.817e-05/0.9904, allocations: 25.11 kB / 0.8732 GB, free: 18.39 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.9909, allocations: 263.2 kB / 0.8734 GB, free: 18.12 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.9909, allocations: 24.44 kB / 0.8735 GB, free: 18.1 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.9909, allocations: 11.48 kB / 0.8735 GB, free: 18.09 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/0.9912, allocations: 91.61 kB / 0.8736 GB, free: 18 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.9912, allocations: 36.52 kB / 0.8736 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.9912, allocations: 0 / 0.8736 GB, free: 17.96 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.0002935/0.9915, allocations: 50.5 kB / 0.8736 GB, free: 17.93 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.9916, allocations: 57 kB / 0.8737 GB, free: 17.86 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.9917, allocations: 103.2 kB / 0.8738 GB, free: 17.76 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.9917, allocations: 25.7 kB / 0.8738 GB, free: 17.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.9918, allocations: 92.08 kB / 0.8739 GB, free: 17.64 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.9918, allocations: 6.453 kB / 0.8739 GB, free: 17.64 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.9918, allocations: 17.91 kB / 0.8739 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.992, allocations: 317.5 kB / 0.8742 GB, free: 17.31 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.077e-05/0.992, allocations: 8.234 kB / 0.8742 GB, free: 17.31 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.726e-05/0.992, allocations: 21.58 kB / 0.8743 GB, free: 17.29 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.948e-05/0.9921, allocations: 35.75 kB / 0.8743 GB, free: 17.27 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.9921, allocations: 1.094 kB / 0.8743 GB, free: 17.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.53e-05/0.9922, allocations: 58.33 kB / 0.8743 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.9922, allocations: 6.219 kB / 0.8744 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.9922, allocations: 5.188 kB / 0.8744 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.9922, allocations: 6.047 kB / 0.8744 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.9923, allocations: 7 kB / 0.8744 GB, free: 17.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9923, allocations: 4.969 kB / 0.8744 GB, free: 17.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.112e-05/0.9923, allocations: 7.547 kB / 0.8744 GB, free: 17.22 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.9923, allocations: 1.031 kB / 0.8744 GB, free: 17.22 MB / 0.6856 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.952e-05/0.9924, allocations: 117.2 kB / 0.8745 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.9924, allocations: 3.578 kB / 0.8745 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.562e-05/0.9925, allocations: 6.75 kB / 0.8745 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.9925, allocations: 1.906 kB / 0.8745 GB, free: 17.11 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9925, allocations: 3.938 kB / 0.8745 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.9925, allocations: 0.5625 kB / 0.8745 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.9928, allocations: 363.2 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.9928, allocations: 1.531 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.9929, allocations: 8.422 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9929, allocations: 1.031 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.9929, allocations: 0.9688 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.9929, allocations: 2.703 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9929, allocations: 1.844 kB / 0.8749 GB, free: 16.71 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.566e-05/0.993, allocations: 74.44 kB / 0.8749 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.993, allocations: 86.55 kB / 0.875 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.993, allocations: 2.609 kB / 0.875 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.9931, allocations: 4.047 kB / 0.875 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.9931, allocations: 2.5 kB / 0.875 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.9931, allocations: 2.562 kB / 0.875 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.9932, allocations: 83.91 kB / 0.8751 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9932, allocations: 1.031 kB / 0.8751 GB, free: 16.46 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001971/0.9934, allocations: 8.906 kB / 0.8751 GB, free: 16.46 MB / 0.6856 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.0004828/0.9939, allocations: 0.6098 MB / 0.8757 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.994, allocations: 18.17 kB / 0.8757 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.994, allocations: 0.9688 kB / 0.8757 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.994, allocations: 5.094 kB / 0.8757 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.9943, allocations: 9.469 kB / 0.8758 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.9947, allocations: 143.5 kB / 0.8759 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.9951, allocations: 0.6803 MB / 0.8766 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 5.497e-05/0.9951, allocations: 15.67 kB / 0.8766 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.9952, allocations: 14.42 kB / 0.8766 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of SimCode: time 3.71e-07/0.9952, allocations: 0 / 0.8766 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/1.016, allocations: 1.498 MB / 0.878 GB, free: 14.66 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/9.403, allocations: 17.28 kB / 0.8781 GB, free: 14.64 MB / 0.6856 GB " [Timeout remaining time 650] (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: 13.277885043993592] Failed to read output from testmodel.py, exit status != 0: 9.53057829104364 9.550848396 8.5597552 Calling exit ...