Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.0008342/0.0008342, 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.0009609/0.0009609, 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.8532/0.8532, 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.00137/0.00137, allocations: 232.4 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.6484/0.6484, allocations: 138.4 MB / 454.3 MB, free: 30 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.6463 GB, free: 1.938 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166e-05/1.324e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.934 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.2285/0.2285, allocations: 3.894 MB / 0.6501 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001173/0.2286, allocations: 147.4 kB / 0.6502 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.194e-05/0.2287, allocations: 0 / 0.6502 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.657e-05/0.2288, allocations: 2.688 kB / 0.6502 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.061e-05/0.2288, allocations: 14.16 kB / 0.6502 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2291, allocations: 86.97 kB / 0.6503 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.2292, allocations: 37.28 kB / 0.6503 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.156e-05/0.2293, allocations: 7.594 kB / 0.6503 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.2293, allocations: 18.47 kB / 0.6504 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.275e-05/0.2294, allocations: 15.69 kB / 0.6504 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.2294, allocations: 0.7812 kB / 0.6504 GB, free: 55.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.2295, allocations: 55.47 kB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.844e-05/0.2296, allocations: 8.406 kB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.2296, allocations: 8.547 kB / 0.6504 GB, free: 55.39 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.2298, allocations: 59.59 kB / 0.6505 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2298, allocations: 4.562 kB / 0.6505 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2298, allocations: 3.938 kB / 0.6505 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2298, allocations: 0 / 0.6505 GB, free: 55.37 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003298/0.2301, allocations: 265.2 kB / 0.6508 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2301, allocations: 12.38 kB / 0.6508 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.2302, allocations: 31.98 kB / 0.6508 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.2302, allocations: 5.688 kB / 0.6508 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.697e-05/0.2303, allocations: 106.3 kB / 0.6509 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.2303, allocations: 54.7 kB / 0.651 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.2303, allocations: 1.781 kB / 0.651 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.2304, allocations: 70.53 kB / 0.651 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.2304, allocations: 4.75 kB / 0.651 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.2305, allocations: 2.984 kB / 0.651 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.2305, allocations: 1.688 kB / 0.651 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.2305, allocations: 21.81 kB / 0.6511 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.2308, allocations: 222.5 kB / 0.6513 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.525e-05/0.2309, allocations: 21.39 kB / 0.6513 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.104e-05/0.2309, allocations: 6.203 kB / 0.6513 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.2309, allocations: 7.969 kB / 0.6513 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.2309, allocations: 33.03 kB / 0.6513 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2309, allocations: 0.8125 kB / 0.6513 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001107/0.231, allocations: 42.81 kB / 0.6514 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.2311, allocations: 56.66 kB / 0.6514 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.2311, allocations: 102.3 kB / 0.6515 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.2311, allocations: 25.7 kB / 0.6516 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.2311, allocations: 92.58 kB / 0.6516 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.139e-06/0.2311, allocations: 5.547 kB / 0.6517 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.2312, allocations: 14.66 kB / 0.6517 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.311e-05/0.2312, allocations: 317.3 kB / 0.652 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.2312, allocations: 4.797 kB / 0.652 GB, free: 53.83 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.648e-05/0.2312, allocations: 15.45 kB / 0.652 GB, free: 53.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.2313, allocations: 32.39 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2313, allocations: 1.516 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.107e-05/0.2313, allocations: 45.12 kB / 0.6521 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2313, allocations: 6.281 kB / 0.6521 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2313, allocations: 8.625 kB / 0.6521 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2313, allocations: 1.844 kB / 0.6521 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.572e-05/0.2314, allocations: 4.344 kB / 0.6521 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2314, allocations: 2.406 kB / 0.6521 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.2314, allocations: 6.406 kB / 0.6521 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.2314, allocations: 1.875 kB / 0.6521 GB, free: 53.74 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 3.484e-05/0.2314, allocations: 116.8 kB / 0.6522 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.2314, allocations: 0.75 kB / 0.6522 GB, free: 53.62 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.2315, allocations: 122.5 kB / 0.6523 GB, free: 53.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.2315, allocations: 182.6 kB / 0.6525 GB, free: 53.32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.2315, allocations: 183.5 kB / 0.6527 GB, free: 53.13 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.2315, allocations: 182.7 kB / 0.6528 GB, free: 52.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.68e-05/0.2316, allocations: 382.5 kB / 0.6532 GB, free: 52.53 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.667e-06/0.2316, allocations: 105.1 kB / 0.6533 GB, free: 52.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-06/0.2316, allocations: 108.1 kB / 0.6534 GB, free: 52.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.2317, allocations: 179.7 kB / 0.6536 GB, free: 52.14 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.2317, allocations: 185.5 kB / 0.6538 GB, free: 51.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.331e-05/0.2317, allocations: 178.8 kB / 0.6539 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.406e-05/0.2317, allocations: 178.6 kB / 0.6541 GB, free: 51.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.232e-05/0.2317, allocations: 307.4 kB / 0.6544 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.2318, allocations: 112.3 kB / 0.6545 GB, free: 51.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.2318, allocations: 178.5 kB / 0.6547 GB, free: 50.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.544e-05/0.2319, allocations: 110.9 kB / 0.6548 GB, free: 50.88 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.2319, allocations: 184.9 kB / 0.655 GB, free: 50.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.2319, allocations: 104 kB / 0.6551 GB, free: 50.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.049e-05/0.2319, allocations: 87.84 kB / 0.6551 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2319, allocations: 0 / 0.6551 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001514/0.2321, allocations: 19.8 kB / 0.6552 GB, free: 50.5 MB / 0.5573 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 (0): * Single equations (assignments): 0 * 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.0001901/0.2322, allocations: 0.823 MB / 0.656 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.466e-05/0.2323, allocations: 8.922 kB / 0.656 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2323, allocations: 0 / 0.656 GB, free: 49.69 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.2323, allocations: 3.938 kB / 0.656 GB, free: 49.68 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.2326, allocations: 470.7 kB / 0.6564 GB, free: 49.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.2331, allocations: 1.329 MB / 0.6577 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.454e-05/0.2332, allocations: 58.66 kB / 0.6578 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.2332, allocations: 7.172 kB / 0.6578 GB, free: 47.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.559e-05/0.2332, allocations: 10.81 kB / 0.6578 GB, free: 47.81 MB / 0.5573 GB Notification: Performance of SimCode: time 9.41e-07/0.2332, allocations: 4 kB / 0.6578 GB, free: 47.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.2463, allocations: 2.177 MB / 0.6599 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.247/6.493, allocations: 4.594 kB / 0.6599 GB, free: 46.99 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.028271614573896] Failed to read output from testmodel.py, exit status != 0: 6.568932729773223 6.576668291 6.345241204 Calling exit ...