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.001772/0.001772, 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.002132/0.002132, allocations: 219 kB / 22.26 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 8.016 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.002599/0.002599, allocations: 293.7 kB / 312.7 MB, free: 2.832 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.269/1.269, allocations: 180.6 MB / 0.5369 GB, free: 12.96 MB / 382.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="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.002884/0.002884, allocations: 107.2 kB / 0.7396 GB, free: 28.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1991, allocations: 95.38 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006329/0.2055, allocations: 3.819 MB / 0.8364 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002526/0.2057, allocations: 171.5 kB / 0.8366 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.2057, allocations: 4 kB / 0.8366 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.2059, allocations: 3.938 kB / 0.8366 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/0.2059, allocations: 15.92 kB / 0.8366 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.2063, allocations: 79.75 kB / 0.8367 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.2064, allocations: 39.84 kB / 0.8367 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.2064, allocations: 0 / 0.8367 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.2065, allocations: 15.97 kB / 0.8368 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.2066, allocations: 23.92 kB / 0.8368 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.2066, allocations: 0 / 0.8368 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006449/0.2072, allocations: 235.5 kB / 0.837 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.2073, allocations: 7.984 kB / 0.837 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.2073, allocations: 11.92 kB / 0.837 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.2075, allocations: 67.86 kB / 0.8371 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2075, allocations: 0 / 0.8371 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2075, allocations: 0 / 0.8371 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2075, allocations: 0 / 0.8371 GB, free: 4.137 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.0004225/0.2079, allocations: 262.3 kB / 0.8373 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2079, allocations: 9.938 kB / 0.8373 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.208, allocations: 34.75 kB / 0.8374 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.208, allocations: 0.9375 kB / 0.8374 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.2081, allocations: 114.4 kB / 0.8375 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.898e-05/0.2082, allocations: 51.97 kB / 0.8375 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.2082, allocations: 8.062 kB / 0.8376 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.2083, allocations: 53.61 kB / 0.8376 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.2084, allocations: 7.938 kB / 0.8376 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2084, allocations: 0 / 0.8376 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.2084, allocations: 0 / 0.8376 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.676e-05/0.2084, allocations: 15.98 kB / 0.8376 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.2089, allocations: 228 kB / 0.8378 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.037e-05/0.2089, allocations: 22.52 kB / 0.8379 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.2089, allocations: 4.859 kB / 0.8379 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.209, allocations: 12.05 kB / 0.8379 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.209, allocations: 34.56 kB / 0.8379 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.209, allocations: 0 / 0.8379 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001493/0.2092, allocations: 33.7 kB / 0.8379 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.2092, allocations: 51.41 kB / 0.838 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.2093, allocations: 109.8 kB / 0.8381 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.2093, allocations: 25.7 kB / 0.8381 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.2094, allocations: 88.22 kB / 0.8382 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.2094, allocations: 7.953 kB / 0.8382 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.2094, allocations: 25.64 kB / 0.8382 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2096, allocations: 314.8 kB / 0.8385 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.2096, allocations: 0 / 0.8385 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.2096, allocations: 13.72 kB / 0.8386 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.2096, allocations: 29.7 kB / 0.8386 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2096, allocations: 0 / 0.8386 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.532e-05/0.2097, allocations: 45.64 kB / 0.8386 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2097, allocations: 11.98 kB / 0.8386 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2097, allocations: 0 / 0.8386 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2098, allocations: 4 kB / 0.8386 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.273e-05/0.2098, allocations: 4 kB / 0.8386 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2098, allocations: 0 / 0.8386 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.2098, allocations: 4 kB / 0.8386 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2098, allocations: 4.062 kB / 0.8387 GB, free: 2.324 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 7.994e-05/0.2099, allocations: 114.4 kB / 0.8388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.2099, allocations: 0 / 0.8388 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001318/0.2101, allocations: 125.7 kB / 0.8389 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.153e-05/0.2101, allocations: 176.3 kB / 0.839 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.801e-05/0.2102, allocations: 184.2 kB / 0.8392 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.418e-05/0.2103, allocations: 180.3 kB / 0.8394 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.2105, allocations: 392.1 kB / 0.8398 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-05/0.2106, allocations: 109 kB / 0.8399 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.2106, allocations: 101 kB / 0.84 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.707e-05/0.2107, allocations: 184.2 kB / 0.8401 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.086e-05/0.2108, allocations: 184.2 kB / 0.8403 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-05/0.2109, allocations: 184.2 kB / 0.8405 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.908e-05/0.2109, allocations: 176.3 kB / 0.8407 GB, free: 132 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.2111, allocations: 311.7 kB / 0.841 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.2111, allocations: 105 kB / 0.8411 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/0.2112, allocations: 192.1 kB / 0.8412 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.2114, allocations: 101 kB / 0.8413 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.894e-05/0.2115, allocations: 184.3 kB / 0.8415 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.2115, allocations: 104.9 kB / 0.8416 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.2116, allocations: 83.27 kB / 0.8417 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.2116, allocations: 4 kB / 0.8417 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002532/0.2118, allocations: 19.94 kB / 0.8417 GB, free: 14.99 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.000509/0.2123, allocations: 0.8165 MB / 0.8425 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.965e-05/0.2124, allocations: 19.94 kB / 0.8425 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2124, allocations: 4.125 kB / 0.8425 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.2124, allocations: 0 / 0.8425 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.2129, allocations: 457.8 kB / 0.843 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.214, allocations: 1.336 MB / 0.8443 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.2143, allocations: 0.669 MB / 0.8449 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.226e-05/0.2144, allocations: 11.23 kB / 0.8449 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.2144, allocations: 11.44 kB / 0.845 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.2144, allocations: 0 / 0.845 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.2434, allocations: 1.61 MB / 0.8465 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.23, allocations: 3.938 kB / 0.8465 GB, free: 10.07 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 & /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: 15.561681949999183] Failed to read output from testmodel.py, exit status != 0: 11.331920968135819 11.348706521 11.138173967 Calling exit ...