Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0008212/0.0008212, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008149/0.0008149, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8639/0.8639, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001475/0.001475, allocations: 225.7 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6669/0.6669, allocations: 138.4 MB / 454.3 MB, free: 30.05 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.6463 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.032e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.914 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion): time 0.3432/0.3432, allocations: 130.4 MB / 0.7736 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.3433, allocations: 58.12 kB / 0.7736 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.3434, allocations: 0 / 0.7736 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.3435, allocations: 0 / 0.7736 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.132e-05/0.3436, allocations: 15.92 kB / 0.7737 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.3442, allocations: 207.1 kB / 0.7739 GB, free: 8.516 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.719e-05/0.3443, allocations: 39.84 kB / 0.7739 GB, free: 8.477 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.3444, allocations: 3.984 kB / 0.7739 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.542e-05/0.3444, allocations: 19.92 kB / 0.7739 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.3445, allocations: 7.984 kB / 0.7739 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.3445, allocations: 8 kB / 0.7739 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.3448, allocations: 167.3 kB / 0.7741 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.3448, allocations: 7.984 kB / 0.7741 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.3448, allocations: 11.98 kB / 0.7741 GB, free: 8.254 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.345, allocations: 107.7 kB / 0.7742 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.345, allocations: 0 / 0.7742 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.345, allocations: 0 / 0.7742 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.345, allocations: 0 / 0.7742 GB, free: 8.148 MB / 0.6042 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.0003304/0.3454, allocations: 274.9 kB / 0.7745 GB, free: 7.852 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3454, allocations: 9.938 kB / 0.7745 GB, free: 7.844 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.048e-05/0.3454, allocations: 42.75 kB / 0.7745 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002556/0.3457, allocations: 23.31 kB / 0.7745 GB, free: 7.773 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.355e-05/0.3458, allocations: 109.8 kB / 0.7747 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.3458, allocations: 51.97 kB / 0.7747 GB, free: 7.578 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.3458, allocations: 8.594 kB / 0.7747 GB, free: 7.57 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.3459, allocations: 75.38 kB / 0.7748 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.3459, allocations: 3.938 kB / 0.7748 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3459, allocations: 3.984 kB / 0.7748 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.346, allocations: 0 / 0.7748 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.938e-05/0.346, allocations: 27.98 kB / 0.7748 GB, free: 7.449 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.3463, allocations: 229.3 kB / 0.775 GB, free: 7.184 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.568e-05/0.3463, allocations: 23.23 kB / 0.7751 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.3463, allocations: 8.922 kB / 0.7751 GB, free: 7.141 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.702e-05/0.3464, allocations: 15.98 kB / 0.7751 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.3465, allocations: 39.88 kB / 0.7751 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3465, allocations: 0 / 0.7751 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001742/0.3466, allocations: 49.69 kB / 0.7752 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.3467, allocations: 55.41 kB / 0.7752 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.3467, allocations: 106.2 kB / 0.7753 GB, free: 6.848 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.3467, allocations: 29.7 kB / 0.7753 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.3468, allocations: 84.14 kB / 0.7754 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.3468, allocations: 7.891 kB / 0.7754 GB, free: 6.719 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.3468, allocations: 25.66 kB / 0.7755 GB, free: 6.688 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.3469, allocations: 314.8 kB / 0.7758 GB, free: 6.371 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.3469, allocations: 4.125 kB / 0.7758 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.182e-05/0.3469, allocations: 34.5 kB / 0.7758 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.3469, allocations: 30.58 kB / 0.7758 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3469, allocations: 0 / 0.7758 GB, free: 6.285 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.526e-05/0.347, allocations: 53.62 kB / 0.7759 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.347, allocations: 4 kB / 0.7759 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.347, allocations: 0 / 0.7759 GB, free: 6.223 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.347, allocations: 4.094 kB / 0.7759 GB, free: 6.219 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.3471, allocations: 11.94 kB / 0.7759 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3471, allocations: 0 / 0.7759 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.3471, allocations: 4 kB / 0.7759 GB, free: 6.203 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3471, allocations: 4.438 kB / 0.7759 GB, free: 6.199 MB / 0.6042 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 0.000298/0.3474, allocations: 114.5 kB / 0.776 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.3474, allocations: 3.984 kB / 0.776 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.3474, allocations: 7.312 kB / 0.776 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3474, allocations: 0 / 0.776 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3474, allocations: 0 / 0.776 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3474, allocations: 0 / 0.776 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3476, allocations: 341.1 kB / 0.7763 GB, free: 5.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3476, allocations: 4 kB / 0.7764 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.3477, allocations: 3.984 kB / 0.7764 GB, free: 5.672 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3477, allocations: 4 kB / 0.7764 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.3477, allocations: 3.938 kB / 0.7764 GB, free: 5.664 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3477, allocations: 3.938 kB / 0.7764 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3477, allocations: 0 / 0.7764 GB, free: 5.66 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.803e-05/0.3477, allocations: 69.94 kB / 0.7764 GB, free: 5.57 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.3477, allocations: 4 kB / 0.7764 GB, free: 5.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.3477, allocations: 8.078 kB / 0.7764 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.914e-05/0.3478, allocations: 3.938 kB / 0.7765 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.095e-05/0.3478, allocations: 4 kB / 0.7765 GB, free: 5.551 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.3478, allocations: 0 / 0.7765 GB, free: 5.551 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.601e-05/0.3478, allocations: 87.55 kB / 0.7765 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3478, allocations: 0 / 0.7765 GB, free: 5.465 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001376/0.348, allocations: 8 kB / 0.7765 GB, free: 5.457 MB / 0.6042 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.0002493/0.3482, allocations: 0.6095 MB / 0.7771 GB, free: 4.812 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.704e-05/0.3483, allocations: 18.56 kB / 0.7772 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3483, allocations: 4 kB / 0.7772 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.881e-06/0.3483, allocations: 3.938 kB / 0.7772 GB, free: 4.789 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.3485, allocations: 7.984 kB / 0.7772 GB, free: 4.781 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3488, allocations: 144.7 kB / 0.7773 GB, free: 4.602 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.519e-05/0.3488, allocations: 59.66 kB / 0.7774 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.593e-05/0.3488, allocations: 8 kB / 0.7774 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.3489, allocations: 12.5 kB / 0.7774 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of SimCode: time 5.31e-07/0.3489, allocations: 0 / 0.7774 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.3622, allocations: 2.157 MB / 0.7795 GB, free: 2.551 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.292/6.654, allocations: 6.359 kB / 0.7795 GB, free: 2.551 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_AirTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.28824443090707] Failed to read output from testmodel.py, exit status != 0: 6.730688123032451 6.73951628 6.392387428 Calling exit ...