Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 102.3 kB / 16.4 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 199.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.807/1.807, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7665/0.7665, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 60.45 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1771, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.0059/0.1831, allocations: 3.71 MB / 0.6352 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002132/0.1833, allocations: 159.4 kB / 0.6353 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.1834, allocations: 0 / 0.6353 GB, free: 1.023 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.1835, allocations: 3.984 kB / 0.6353 GB, free: 1.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.777e-05/0.1836, allocations: 11.94 kB / 0.6354 GB, free: 1.008 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003767/0.184, allocations: 90.06 kB / 0.6354 GB, free: 0.9219 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.587e-05/0.1841, allocations: 31.91 kB / 0.6355 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1841, allocations: 3.984 kB / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.1842, allocations: 15.98 kB / 0.6355 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.1843, allocations: 19.86 kB / 0.6355 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1843, allocations: 0 / 0.6355 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005911/0.1849, allocations: 187.4 kB / 0.6357 GB, free: 0.668 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.185, allocations: 3.984 kB / 0.6357 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.185, allocations: 8 kB / 0.6357 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.1851, allocations: 50.7 kB / 0.6358 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1851, allocations: 0 / 0.6358 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1851, allocations: 0 / 0.6358 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1852, allocations: 0 / 0.6358 GB, free: 0.6094 MB / 478.1 MB 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.0004211/0.1856, allocations: 336.3 kB / 0.6361 GB, free: 240 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1856, allocations: 12.03 kB / 0.6361 GB, free: 228 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.1857, allocations: 38.73 kB / 0.6361 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.1857, allocations: 0.9375 kB / 0.6361 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.1859, allocations: 164.4 kB / 0.6363 GB, free: 15.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.058e-05/0.1859, allocations: 30.27 kB / 0.6363 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1859, allocations: 8.062 kB / 0.6363 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1861, allocations: 49.62 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1861, allocations: 0 / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1861, allocations: 0 / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.1861, allocations: 0 / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.952e-05/0.1862, allocations: 15.98 kB / 0.6364 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.1867, allocations: 338 kB / 0.6367 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.452e-05/0.1868, allocations: 22.52 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.1868, allocations: 8.859 kB / 0.6367 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001263/0.1869, allocations: 85.16 kB / 0.6368 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.187, allocations: 38.5 kB / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.187, allocations: 0 / 0.6368 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001744/0.1872, allocations: 33.7 kB / 0.6369 GB, free: 15.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1872, allocations: 55.44 kB / 0.6369 GB, free: 15.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.1873, allocations: 105.8 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1873, allocations: 25.7 kB / 0.6371 GB, free: 15.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.1874, allocations: 88.03 kB / 0.6371 GB, free: 14.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.1874, allocations: 8 kB / 0.6371 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.1874, allocations: 21.64 kB / 0.6372 GB, free: 14.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1876, allocations: 314.8 kB / 0.6375 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.1876, allocations: 4 kB / 0.6375 GB, free: 14.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.976e-05/0.1876, allocations: 21.7 kB / 0.6375 GB, free: 14.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.913e-05/0.1877, allocations: 21.72 kB / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1877, allocations: 0 / 0.6375 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.051e-05/0.1878, allocations: 45.62 kB / 0.6376 GB, free: 14.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1878, allocations: 8 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1878, allocations: 4.062 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1878, allocations: 0 / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.077e-05/0.1879, allocations: 4 kB / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.1879, allocations: 0 / 0.6376 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.1879, allocations: 8 kB / 0.6376 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.1879, allocations: 0 / 0.6376 GB, free: 14.45 MB / 494.1 MB 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.977e-05/0.188, allocations: 113.8 kB / 0.6377 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.1881, allocations: 7.891 kB / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.1882, allocations: 133.1 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.176e-05/0.1883, allocations: 180.3 kB / 0.638 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-05/0.1884, allocations: 180.2 kB / 0.6382 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-05/0.1884, allocations: 188.2 kB / 0.6383 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.1887, allocations: 409.1 kB / 0.6387 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.418e-05/0.1887, allocations: 109 kB / 0.6388 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.1887, allocations: 101 kB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.964e-05/0.1888, allocations: 180.2 kB / 0.6391 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.1889, allocations: 180.2 kB / 0.6393 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.999e-05/0.189, allocations: 188.2 kB / 0.6395 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-05/0.189, allocations: 180.3 kB / 0.6396 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.1892, allocations: 307.7 kB / 0.6399 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.1893, allocations: 182 kB / 0.6401 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-05/0.1893, allocations: 192.2 kB / 0.6403 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1895, allocations: 101 kB / 0.6404 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.1896, allocations: 188.3 kB / 0.6406 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.1896, allocations: 112.9 kB / 0.6407 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.288e-05/0.1897, allocations: 83.28 kB / 0.6407 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1897, allocations: 0 / 0.6407 GB, free: 10.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1899, allocations: 15.94 kB / 0.6408 GB, free: 10.97 MB / 494.1 MB 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.0004852/0.1904, allocations: 0.8283 MB / 0.6416 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.1905, allocations: 11.92 kB / 0.6416 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1905, allocations: 0 / 0.6416 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.114e-06/0.1905, allocations: 0 / 0.6416 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.1909, allocations: 465.2 kB / 0.642 GB, free: 9.645 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.192, allocations: 1.324 MB / 0.6433 GB, free: 8.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.1923, allocations: 0.6729 MB / 0.644 GB, free: 7.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.285e-05/0.1923, allocations: 8 kB / 0.644 GB, free: 7.523 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.1923, allocations: 11.42 kB / 0.644 GB, free: 7.512 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1923, allocations: 0 / 0.644 GB, free: 7.512 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.2112, allocations: 1.536 MB / 0.6455 GB, free: 6.125 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13, allocations: 6.938 kB / 0.6455 GB, free: 6.121 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)