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.0009946/0.0009946, 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.0008812/0.0008812, 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.8584/0.8584, 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.001442/0.001442, allocations: 226 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.6584/0.6584, 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.483e-06/1.483e-06, allocations: 0 / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.989e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.2201/0.2201, allocations: 3.893 MB / 0.6501 GB, free: 55.13 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001314/0.2203, allocations: 145.7 kB / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.2203, allocations: 0 / 0.6502 GB, free: 55.07 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.711e-05/0.2204, allocations: 5.328 kB / 0.6502 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.882e-05/0.2205, allocations: 9.953 kB / 0.6502 GB, free: 55.06 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.2207, allocations: 84.27 kB / 0.6503 GB, free: 55.04 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.17e-05/0.2208, allocations: 37.36 kB / 0.6503 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.2208, allocations: 5.672 kB / 0.6503 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.2209, allocations: 24.14 kB / 0.6504 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.221, allocations: 9.312 kB / 0.6504 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.221, allocations: 1.75 kB / 0.6504 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.2211, allocations: 62.22 kB / 0.6504 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.2211, allocations: 8.625 kB / 0.6504 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.2212, allocations: 6.984 kB / 0.6504 GB, free: 54.99 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.2213, allocations: 58.64 kB / 0.6505 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2213, allocations: 5.125 kB / 0.6505 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2213, allocations: 1.625 kB / 0.6505 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2213, allocations: 0 / 0.6505 GB, free: 54.98 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.0002569/0.2216, allocations: 263.1 kB / 0.6508 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2216, allocations: 12.59 kB / 0.6508 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.017e-05/0.2216, allocations: 32.5 kB / 0.6508 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.2216, allocations: 5.969 kB / 0.6508 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.369e-05/0.2217, allocations: 108.9 kB / 0.6509 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.2217, allocations: 54.73 kB / 0.651 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.2217, allocations: 1.688 kB / 0.651 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.2218, allocations: 70.44 kB / 0.651 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2218, allocations: 3.938 kB / 0.651 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2219, allocations: 1.281 kB / 0.651 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.2219, allocations: 1.5 kB / 0.651 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.2219, allocations: 19.72 kB / 0.6511 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.2222, allocations: 225 kB / 0.6513 GB, free: 54.19 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.934e-05/0.2222, allocations: 20.58 kB / 0.6513 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.154e-05/0.2223, allocations: 6.953 kB / 0.6513 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.2223, allocations: 10.89 kB / 0.6513 GB, free: 54.16 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.2223, allocations: 33.11 kB / 0.6513 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.2223, allocations: 1.219 kB / 0.6513 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001128/0.2224, allocations: 36.34 kB / 0.6514 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.2224, allocations: 56.77 kB / 0.6514 GB, free: 54.02 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.432e-05/0.2225, allocations: 102.3 kB / 0.6515 GB, free: 53.92 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.923e-06/0.2225, allocations: 27.23 kB / 0.6516 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.2225, allocations: 90.45 kB / 0.6516 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-06/0.2225, allocations: 4.984 kB / 0.6516 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.2225, allocations: 15.45 kB / 0.6517 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 2.795e-05/0.2226, allocations: 316.9 kB / 0.652 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.147e-05/0.2226, allocations: 3.578 kB / 0.652 GB, free: 53.47 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.695e-05/0.2226, allocations: 16.3 kB / 0.652 GB, free: 53.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.2226, allocations: 30.36 kB / 0.652 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2226, allocations: 0 / 0.652 GB, free: 53.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.395e-05/0.2227, allocations: 50.31 kB / 0.6521 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2227, allocations: 9.781 kB / 0.6521 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2227, allocations: 1.594 kB / 0.6521 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.2227, allocations: 1.25 kB / 0.6521 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.429e-05/0.2227, allocations: 6.016 kB / 0.6521 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.2227, allocations: 3.531 kB / 0.6521 GB, free: 53.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.2227, allocations: 7.859 kB / 0.6521 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2228, allocations: 2.422 kB / 0.6521 GB, free: 53.39 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.19e-05/0.2228, allocations: 120 kB / 0.6522 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.2228, allocations: 2.609 kB / 0.6522 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.216e-05/0.2229, allocations: 118.8 kB / 0.6523 GB, free: 53.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.2229, allocations: 187.3 kB / 0.6525 GB, free: 52.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.2229, allocations: 185.4 kB / 0.6527 GB, free: 52.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.2229, allocations: 178.1 kB / 0.6528 GB, free: 52.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.504e-05/0.223, allocations: 383.4 kB / 0.6532 GB, free: 52.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.223, allocations: 105.6 kB / 0.6533 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-06/0.223, allocations: 103.7 kB / 0.6534 GB, free: 51.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.223, allocations: 182.4 kB / 0.6536 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.223, allocations: 178.8 kB / 0.6538 GB, free: 51.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.295e-05/0.223, allocations: 186.2 kB / 0.6539 GB, free: 51.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.685e-05/0.223, allocations: 181.3 kB / 0.6541 GB, free: 51.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.984e-05/0.2231, allocations: 307.3 kB / 0.6544 GB, free: 50.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.2231, allocations: 107.3 kB / 0.6545 GB, free: 50.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.2231, allocations: 182.9 kB / 0.6547 GB, free: 50.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.2232, allocations: 104.6 kB / 0.6548 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.2232, allocations: 182.6 kB / 0.655 GB, free: 50.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.2232, allocations: 103.5 kB / 0.6551 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.922e-05/0.2232, allocations: 87.56 kB / 0.6551 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2232, allocations: 0 / 0.6551 GB, free: 50.18 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001595/0.2234, allocations: 17.88 kB / 0.6552 GB, free: 50.18 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.0001699/0.2236, allocations: 0.8305 MB / 0.656 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.996e-05/0.2236, allocations: 11.84 kB / 0.656 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.2236, allocations: 0 / 0.656 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.72e-07/0.2236, allocations: 0 / 0.656 GB, free: 49.36 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2238, allocations: 466.2 kB / 0.6564 GB, free: 48.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.2243, allocations: 1.329 MB / 0.6577 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.745e-05/0.2243, allocations: 64.11 kB / 0.6578 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.2244, allocations: 6.625 kB / 0.6578 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.2244, allocations: 10.62 kB / 0.6578 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.2244, allocations: 0 / 0.6578 GB, free: 47.51 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.2373, allocations: 2.189 MB / 0.6599 GB, free: 46.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.336/6.573, allocations: 3.5 kB / 0.6599 GB, free: 46.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.025660430081189] Failed to read output from testmodel.py, exit status != 0: 6.6492031225934625 6.657441271 6.434169747 Calling exit ...