Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.001281/0.001281, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0011/0.0011, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.061/1.061, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.000304, allocations: 12 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1789, allocations: 83.41 MB / 0.5973 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003893/0.1828, allocations: 3.384 MB / 0.6006 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000159/0.183, allocations: 131.7 kB / 0.6008 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.183, allocations: 4 kB / 0.6008 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.1832, allocations: 4 kB / 0.6008 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.763e-05/0.1832, allocations: 7.922 kB / 0.6008 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.1835, allocations: 67.88 kB / 0.6009 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.215e-05/0.1836, allocations: 15.98 kB / 0.6009 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.1836, allocations: 3.984 kB / 0.6009 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.856e-05/0.1837, allocations: 8 kB / 0.6009 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.1837, allocations: 11.92 kB / 0.6009 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.1837, allocations: 0 / 0.6009 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1839, allocations: 39.91 kB / 0.6009 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.184, allocations: 7.922 kB / 0.6009 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.184, allocations: 29.7 kB / 0.601 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.986e-05/0.1841, allocations: 24.27 kB / 0.601 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1841, allocations: 4 kB / 0.601 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1841, allocations: 0 / 0.601 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1841, allocations: 0 / 0.601 GB, free: 4.031 MB / 0.4981 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.0003472/0.1845, allocations: 331.3 kB / 0.6013 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1845, allocations: 8.031 kB / 0.6013 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.991e-05/0.1846, allocations: 34.56 kB / 0.6013 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.1846, allocations: 3.953 kB / 0.6014 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1847, allocations: 163.1 kB / 0.6015 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.488e-05/0.1848, allocations: 33.69 kB / 0.6015 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.946e-06/0.1848, allocations: 3.984 kB / 0.6015 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.1849, allocations: 49.62 kB / 0.6016 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.1849, allocations: 0 / 0.6016 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.1849, allocations: 0 / 0.6016 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.185, allocations: 7.953 kB / 0.6016 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.856e-05/0.185, allocations: 11.98 kB / 0.6016 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.1854, allocations: 330.1 kB / 0.6019 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.241e-05/0.1855, allocations: 22.58 kB / 0.6019 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.072e-05/0.1856, allocations: 81.17 kB / 0.602 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.1856, allocations: 38.5 kB / 0.6021 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1856, allocations: 0 / 0.6021 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.1858, allocations: 41.64 kB / 0.6021 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.1858, allocations: 51.41 kB / 0.6021 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.427e-05/0.1859, allocations: 110 kB / 0.6023 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1859, allocations: 29.7 kB / 0.6023 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.186, allocations: 91.92 kB / 0.6024 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.186, allocations: 3.906 kB / 0.6024 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.186, allocations: 3.938 kB / 0.6024 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1861, allocations: 314.8 kB / 0.6027 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.1861, allocations: 4 kB / 0.6027 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.916e-05/0.1862, allocations: 21.64 kB / 0.6027 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.08e-05/0.1862, allocations: 12 kB / 0.6027 GB, free: 2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1862, allocations: 0 / 0.6027 GB, free: 2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.419e-05/0.1863, allocations: 41.69 kB / 0.6028 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1863, allocations: 8 kB / 0.6028 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1863, allocations: 0 / 0.6028 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1863, allocations: 3.953 kB / 0.6028 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.1864, allocations: 7.938 kB / 0.6028 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1864, allocations: 0 / 0.6028 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.1864, allocations: 12.06 kB / 0.6028 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1864, allocations: 0 / 0.6028 GB, free: 1.922 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.121e-05/0.1865, allocations: 113.8 kB / 0.6029 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1865, allocations: 0 / 0.6029 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.1866, allocations: 116.9 kB / 0.603 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.374e-05/0.1867, allocations: 188.2 kB / 0.6032 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.235e-05/0.1868, allocations: 184.2 kB / 0.6034 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.968e-05/0.1868, allocations: 180.2 kB / 0.6035 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.1871, allocations: 409.2 kB / 0.6039 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.359e-05/0.1871, allocations: 101 kB / 0.604 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.1872, allocations: 108.9 kB / 0.6041 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.425e-05/0.1872, allocations: 176.3 kB / 0.6043 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.1873, allocations: 184.2 kB / 0.6045 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3041/0.4914, allocations: 177.7 kB / 0.6046 GB, free: 41.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.365e-05/0.4915, allocations: 179.8 kB / 0.6048 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.4916, allocations: 311 kB / 0.6051 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.4917, allocations: 188.8 kB / 0.6053 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.4917, allocations: 178.1 kB / 0.6055 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.4919, allocations: 115 kB / 0.6056 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.492, allocations: 181.2 kB / 0.6057 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.492, allocations: 102.7 kB / 0.6058 GB, free: 40.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.496e-05/0.4921, allocations: 87.66 kB / 0.6059 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4921, allocations: 0.5 kB / 0.6059 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003508/0.4924, allocations: 19.31 kB / 0.6059 GB, free: 40.04 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.4927, allocations: 0.8224 MB / 0.6067 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.479e-05/0.4928, allocations: 12.53 kB / 0.6067 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4928, allocations: 2.031 kB / 0.6068 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.4928, allocations: 0 / 0.6068 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.4931, allocations: 0.5243 MB / 0.6073 GB, free: 38.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.4935, allocations: 223.7 kB / 0.6075 GB, free: 38.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.4937, allocations: 0.6785 MB / 0.6081 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.121e-05/0.4938, allocations: 7.781 kB / 0.6081 GB, free: 37.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.4938, allocations: 9.031 kB / 0.6082 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/0.4938, allocations: 3.469 kB / 0.6082 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01195/0.5058, allocations: 1.247 MB / 0.6094 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/0.506, allocations: 193.9 kB / 0.6096 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.636/2.142, allocations: 0 / 0.6096 GB, free: 37.49 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: