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.001362/0.001362, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001851/0.001851, allocations: 212.3 kB / 22.24 MB, free: 4.855 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.785 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.002667/0.002667, allocations: 287 kB / 312.7 MB, free: 2.586 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.188/1.188, allocations: 180.6 MB / 0.5369 GB, free: 14.62 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.003025/0.003025, allocations: 102 kB / 0.7395 GB, free: 27.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1785, allocations: 95.4 MB / 0.8326 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005582/0.1841, allocations: 3.621 MB / 0.8362 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002158/0.1843, allocations: 147.5 kB / 0.8363 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.857e-05/0.1843, allocations: 0 / 0.8363 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.301e-05/0.1844, allocations: 7.984 kB / 0.8363 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.558e-05/0.1844, allocations: 11.92 kB / 0.8363 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003347/0.1848, allocations: 91.67 kB / 0.8364 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.927e-05/0.1849, allocations: 27.91 kB / 0.8364 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.1849, allocations: 7.938 kB / 0.8364 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.1849, allocations: 19.98 kB / 0.8365 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.185, allocations: 15.92 kB / 0.8365 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.185, allocations: 0 / 0.8365 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000593/0.1856, allocations: 203.6 kB / 0.8367 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.272e-05/0.1857, allocations: 11.92 kB / 0.8367 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.1857, allocations: 8 kB / 0.8367 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.1858, allocations: 55.88 kB / 0.8367 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1858, allocations: 3.984 kB / 0.8367 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1858, allocations: 3.938 kB / 0.8368 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.1858, allocations: 0 / 0.8368 GB, free: 4.039 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.0003663/0.1862, allocations: 262.3 kB / 0.837 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1862, allocations: 9.344 kB / 0.837 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.892e-05/0.1863, allocations: 34.73 kB / 0.837 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.1863, allocations: 4.938 kB / 0.8371 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1864, allocations: 114.4 kB / 0.8372 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.311e-05/0.1865, allocations: 55.95 kB / 0.8372 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.1865, allocations: 8.125 kB / 0.8372 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.1866, allocations: 71.38 kB / 0.8373 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.1867, allocations: 0 / 0.8373 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.1867, allocations: 3.938 kB / 0.8373 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.1867, allocations: 8 kB / 0.8373 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.273e-05/0.1867, allocations: 15.98 kB / 0.8373 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.1871, allocations: 224 kB / 0.8375 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.634e-05/0.1872, allocations: 18.58 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.1872, allocations: 8.859 kB / 0.8376 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.989e-05/0.1872, allocations: 4 kB / 0.8376 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1873, allocations: 38.55 kB / 0.8376 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1873, allocations: 0 / 0.8376 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.000135/0.1874, allocations: 41.73 kB / 0.8376 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.1874, allocations: 51.41 kB / 0.8377 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.1875, allocations: 105.8 kB / 0.8378 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1875, allocations: 25.7 kB / 0.8378 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.1876, allocations: 84.09 kB / 0.8379 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.1876, allocations: 7.953 kB / 0.8379 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.1876, allocations: 17.72 kB / 0.8379 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1878, allocations: 318.8 kB / 0.8382 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.1878, allocations: 4 kB / 0.8382 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.1878, allocations: 13.72 kB / 0.8382 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.1878, allocations: 25.73 kB / 0.8383 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1878, allocations: 3.938 kB / 0.8383 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.235e-05/0.1879, allocations: 45.7 kB / 0.8383 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1879, allocations: 4 kB / 0.8383 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1879, allocations: 7.922 kB / 0.8383 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1879, allocations: 0 / 0.8383 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.936e-05/0.188, allocations: 8 kB / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.188, allocations: 0 / 0.8383 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.188, allocations: 3.938 kB / 0.8383 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.188, allocations: 8.062 kB / 0.8383 GB, free: 2.195 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 8.442e-05/0.1881, allocations: 114.4 kB / 0.8384 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1881, allocations: 8 kB / 0.8385 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.1882, allocations: 122.4 kB / 0.8386 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.3e-05/0.1883, allocations: 184.2 kB / 0.8387 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.042e-05/0.1884, allocations: 176.3 kB / 0.8389 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.047e-05/0.1885, allocations: 180.3 kB / 0.8391 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.1887, allocations: 384.2 kB / 0.8395 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.051e-05/0.1888, allocations: 105 kB / 0.8396 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.1888, allocations: 112.9 kB / 0.8397 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-05/0.1889, allocations: 180.2 kB / 0.8398 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.189, allocations: 180.3 kB / 0.84 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.886e-05/0.1891, allocations: 180.2 kB / 0.8402 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.865e-05/0.1891, allocations: 176.3 kB / 0.8403 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1893, allocations: 319.9 kB / 0.8407 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.1894, allocations: 101 kB / 0.8407 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.1895, allocations: 184.2 kB / 0.8409 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1896, allocations: 109 kB / 0.841 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/0.1897, allocations: 188.2 kB / 0.8412 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.1898, allocations: 101 kB / 0.8413 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.397e-05/0.1898, allocations: 87.28 kB / 0.8414 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1898, allocations: 0 / 0.8414 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002512/0.1901, allocations: 19.92 kB / 0.8414 GB, free: 14.86 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.0005091/0.1906, allocations: 0.8204 MB / 0.8422 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.1907, allocations: 15.98 kB / 0.8422 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1907, allocations: 4 kB / 0.8422 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1907, allocations: 0 / 0.8422 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004749/0.1911, allocations: 459.6 kB / 0.8427 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.1923, allocations: 1.34 MB / 0.844 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.287e-05/0.1923, allocations: 59.34 kB / 0.844 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.1924, allocations: 4 kB / 0.844 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.1924, allocations: 7.438 kB / 0.844 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1924, allocations: 0 / 0.844 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.2211, allocations: 2.055 MB / 0.846 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.79, allocations: 12.98 kB / 0.8461 GB, free: 10.12 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: 14.780906742904335] Failed to read output from testmodel.py, exit status != 0: 10.891795612871647 10.907583086 10.718732817 Calling exit ...