Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001363/0.001363, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001612/0.001612, allocations: 205.5 kB / 20.13 MB, free: 3.078 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.42/1.42, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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.002307/0.002307, allocations: 283.4 kB / 309.8 MB, free: 3.461 MB / 238.1 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 1.044/1.044, allocations: 180.6 MB / 0.5338 GB, free: 12.79 MB / 398.1 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002826/0.002826, allocations: 103.8 kB / 0.7347 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5389, allocations: 95.33 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004614/0.5435, allocations: 3.811 MB / 0.8315 GB, free: 336 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000158/0.5437, allocations: 159.7 kB / 0.8316 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.042e-05/0.5437, allocations: 0.9375 kB / 0.8316 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.5438, allocations: 5.203 kB / 0.8316 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.5439, allocations: 9.594 kB / 0.8316 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.5442, allocations: 85.09 kB / 0.8317 GB, free: 168 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.929e-05/0.5443, allocations: 36.61 kB / 0.8318 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.5443, allocations: 2.125 kB / 0.8318 GB, free: 152 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.5443, allocations: 18.03 kB / 0.8318 GB, free: 148 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.845e-05/0.5444, allocations: 12.31 kB / 0.8318 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.5444, allocations: 0 / 0.8318 GB, free: 144 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.5449, allocations: 212.6 kB / 0.832 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.811e-05/0.5449, allocations: 2.391 kB / 0.832 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.545, allocations: 14.62 kB / 0.832 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.5451, allocations: 71.39 kB / 0.8321 GB, free: 36 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5451, allocations: 0 / 0.8321 GB, free: 36 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5451, allocations: 0 / 0.8321 GB, free: 36 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.5451, allocations: 1.5 kB / 0.8321 GB, free: 36 kB / 0.5762 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.0004732/0.5456, allocations: 336.1 kB / 0.8324 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.5456, allocations: 8.641 kB / 0.8324 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.275e-05/0.5456, allocations: 1.125 kB / 0.8324 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.5457, allocations: 37.62 kB / 0.8324 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.5457, allocations: 1.688 kB / 0.8324 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.5458, allocations: 172.9 kB / 0.8326 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.5459, allocations: 28.38 kB / 0.8326 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.5459, allocations: 6.938 kB / 0.8326 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.546, allocations: 37.91 kB / 0.8327 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.546, allocations: 1.5 kB / 0.8327 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5461, allocations: 4 kB / 0.8327 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.5461, allocations: 9.781 kB / 0.8327 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.561e-05/0.5461, allocations: 12.48 kB / 0.8327 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.5466, allocations: 338 kB / 0.833 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.267e-05/0.5466, allocations: 14.58 kB / 0.833 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.5466, allocations: 8.75 kB / 0.833 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.284e-05/0.5467, allocations: 82.03 kB / 0.8331 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.5468, allocations: 42.62 kB / 0.8332 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5468, allocations: 0 / 0.8332 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.5469, allocations: 35.16 kB / 0.8332 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.547, allocations: 53 kB / 0.8333 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.547, allocations: 101.3 kB / 0.8333 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.5471, allocations: 29.31 kB / 0.8334 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.5471, allocations: 88.73 kB / 0.8335 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.221e-06/0.5471, allocations: 3.953 kB / 0.8335 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.5472, allocations: 20.36 kB / 0.8335 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5473, allocations: 320.3 kB / 0.8338 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.5473, allocations: 3.188 kB / 0.8338 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.5473, allocations: 19.38 kB / 0.8338 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.5474, allocations: 21.33 kB / 0.8338 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.5474, allocations: 0 / 0.8338 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.479e-05/0.5474, allocations: 50.5 kB / 0.8339 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.5475, allocations: 8.625 kB / 0.8339 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5475, allocations: 288 / 0.8339 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5475, allocations: 2.109 kB / 0.8339 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.985e-05/0.5475, allocations: 4.922 kB / 0.8339 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.5475, allocations: 3.547 kB / 0.8339 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.5475, allocations: 0 / 0.8339 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5476, allocations: 6.062 kB / 0.8339 GB, free: 14.05 MB / 0.5919 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 8.539e-05/0.5476, allocations: 116.5 kB / 0.834 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.5477, allocations: 6.641 kB / 0.834 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.5478, allocations: 133.2 kB / 0.8341 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.646e-05/0.5479, allocations: 176.9 kB / 0.8343 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.434e-05/0.5479, allocations: 184.8 kB / 0.8345 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.068e-05/0.548, allocations: 183.8 kB / 0.8347 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/0.5483, allocations: 406.1 kB / 0.8351 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.456e-05/0.5484, allocations: 111.2 kB / 0.8352 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.411e-05/0.5484, allocations: 112.7 kB / 0.8353 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.771e-05/0.5485, allocations: 176.3 kB / 0.8354 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.311e-05/0.5486, allocations: 181.3 kB / 0.8356 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.275e-05/0.5486, allocations: 179.6 kB / 0.8358 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-05/0.5487, allocations: 184.2 kB / 0.836 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.5489, allocations: 313.6 kB / 0.8363 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.549, allocations: 183 kB / 0.8364 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.121e-05/0.5491, allocations: 176.3 kB / 0.8366 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.5492, allocations: 116.2 kB / 0.8367 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.5493, allocations: 181 kB / 0.8369 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.5494, allocations: 105.6 kB / 0.837 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.125e-05/0.5494, allocations: 87.89 kB / 0.8371 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5494, allocations: 0 / 0.8371 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002564/0.5497, allocations: 21.67 kB / 0.8371 GB, free: 10.65 MB / 0.5919 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.0004963/0.5502, allocations: 0.8253 MB / 0.8379 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.376e-05/0.5502, allocations: 14.72 kB / 0.8379 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5502, allocations: 1.438 kB / 0.8379 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.163e-06/0.5502, allocations: 0 / 0.8379 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.5507, allocations: 462.8 kB / 0.8383 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.5518, allocations: 1.316 MB / 0.8396 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.5521, allocations: 0.6738 MB / 0.8403 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.961e-05/0.5521, allocations: 9.25 kB / 0.8403 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.5522, allocations: 10.94 kB / 0.8403 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.5522, allocations: 0 / 0.8403 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01881/0.571, allocations: 1.572 MB / 0.8418 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.425, allocations: 12.3 kB / 0.8419 GB, free: 6.949 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.23874463204993] Failed to read output from testmodel.py, exit status != 0: 8.54586857900722 8.560630561 8.012465922 Calling exit ...