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.001297/0.001297, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001575/0.001575, allocations: 218.2 kB / 22.25 MB, free: 5.125 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.988 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.003609/0.003609, allocations: 278.9 kB / 312.7 MB, free: 2.812 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.292/1.292, allocations: 180.6 MB / 0.5369 GB, free: 13.05 MB / 382.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",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.00293/0.00293, allocations: 92.27 kB / 0.7396 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.2011, allocations: 95.38 MB / 0.8327 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006016/0.2071, allocations: 3.837 MB / 0.8364 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.2073, allocations: 163.4 kB / 0.8366 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.2074, allocations: 0 / 0.8366 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.746e-05/0.2075, allocations: 11.92 kB / 0.8366 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.047e-05/0.2075, allocations: 11.98 kB / 0.8366 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.2079, allocations: 92.42 kB / 0.8367 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.42e-05/0.208, allocations: 27.91 kB / 0.8367 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.208, allocations: 4 kB / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.961e-05/0.2081, allocations: 19.92 kB / 0.8368 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.2081, allocations: 15.92 kB / 0.8368 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.2081, allocations: 0 / 0.8368 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006961/0.2088, allocations: 239.6 kB / 0.837 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.2089, allocations: 7.984 kB / 0.837 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.2089, allocations: 7.938 kB / 0.837 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.2091, allocations: 67.84 kB / 0.8371 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2091, allocations: 0 / 0.8371 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2091, allocations: 0 / 0.8371 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.2091, allocations: 3.938 kB / 0.8371 GB, free: 4.176 MB / 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.00038/0.2095, allocations: 258.3 kB / 0.8373 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2095, allocations: 13.94 kB / 0.8374 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.2095, allocations: 30.75 kB / 0.8374 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.2096, allocations: 8.875 kB / 0.8374 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.2097, allocations: 114.4 kB / 0.8375 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.592e-05/0.2098, allocations: 59.97 kB / 0.8376 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2098, allocations: 4.125 kB / 0.8376 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.2099, allocations: 41.67 kB / 0.8376 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2099, allocations: 0 / 0.8376 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2099, allocations: 0 / 0.8376 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.2099, allocations: 8 kB / 0.8376 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.564e-05/0.21, allocations: 19.92 kB / 0.8376 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.2104, allocations: 228 kB / 0.8378 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.189e-05/0.2104, allocations: 14.58 kB / 0.8379 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.645e-05/0.2104, allocations: 8.922 kB / 0.8379 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.2105, allocations: 4 kB / 0.8379 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2105, allocations: 38.56 kB / 0.8379 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.2105, allocations: 0 / 0.8379 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001505/0.2106, allocations: 41.62 kB / 0.8379 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2107, allocations: 51.41 kB / 0.838 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.913e-05/0.2108, allocations: 101.9 kB / 0.8381 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2108, allocations: 29.69 kB / 0.8381 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.2108, allocations: 84.09 kB / 0.8382 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-06/0.2109, allocations: 8.016 kB / 0.8382 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.2109, allocations: 21.72 kB / 0.8382 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.211, allocations: 314.8 kB / 0.8385 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.2111, allocations: 7.984 kB / 0.8385 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.2111, allocations: 17.72 kB / 0.8386 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.2111, allocations: 21.66 kB / 0.8386 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2111, allocations: 4 kB / 0.8386 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.471e-05/0.2112, allocations: 45.69 kB / 0.8386 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2112, allocations: 9.812 kB / 0.8386 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.2112, allocations: 0 / 0.8386 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.2112, allocations: 4 kB / 0.8386 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.769e-05/0.2113, allocations: 7.984 kB / 0.8386 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2113, allocations: 0 / 0.8386 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.2113, allocations: 0 / 0.8386 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.2113, allocations: 4 kB / 0.8386 GB, free: 2.371 MB / 0.5762 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 9.362e-05/0.2114, allocations: 118.5 kB / 0.8388 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.2114, allocations: 7.938 kB / 0.8388 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.2116, allocations: 118.1 kB / 0.8389 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.806e-05/0.2117, allocations: 184.2 kB / 0.8391 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-05/0.2117, allocations: 180.3 kB / 0.8392 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.361e-05/0.2118, allocations: 184.2 kB / 0.8394 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.2121, allocations: 384.2 kB / 0.8398 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.776e-05/0.2121, allocations: 108.9 kB / 0.8399 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/0.2122, allocations: 101 kB / 0.84 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.672e-05/0.2122, allocations: 184.2 kB / 0.8401 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.669e-05/0.2123, allocations: 180.2 kB / 0.8403 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.739e-05/0.2124, allocations: 180.3 kB / 0.8405 GB, free: 368 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001015/0.2125, allocations: 184.2 kB / 0.8407 GB, free: 176 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.2127, allocations: 307.8 kB / 0.841 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.2128, allocations: 104.9 kB / 0.8411 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.2129, allocations: 184.2 kB / 0.8412 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.2131, allocations: 116.9 kB / 0.8413 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/0.2132, allocations: 176.5 kB / 0.8415 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.2132, allocations: 105 kB / 0.8416 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.2133, allocations: 79.28 kB / 0.8417 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2133, allocations: 0 / 0.8417 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002925/0.2136, allocations: 23.92 kB / 0.8417 GB, free: 15.04 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.0005597/0.2141, allocations: 0.8243 MB / 0.8425 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.2142, allocations: 15.98 kB / 0.8425 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2142, allocations: 3.938 kB / 0.8425 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.2142, allocations: 7.938 kB / 0.8425 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005804/0.2148, allocations: 455.8 kB / 0.843 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.2161, allocations: 1.325 MB / 0.8443 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.2164, allocations: 0.6768 MB / 0.8449 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.065e-05/0.2164, allocations: 9 kB / 0.8449 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.2164, allocations: 7.438 kB / 0.8449 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.2164, allocations: 0 / 0.8449 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02711/0.2435, allocations: 1.619 MB / 0.8465 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.86, allocations: 15.28 kB / 0.8465 GB, free: 10.1 MB / 0.5919 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_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_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.453351702999498] Failed to read output from testmodel.py, exit status != 0: 10.960875833003229 10.978287945 10.765983965 Calling exit ...