Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009763/0.000976, allocations: 100.2 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.0009224/0.0009223, 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.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.03/1.03, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1902, allocations: 83.42 MB / 0.5973 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004157/0.1944, allocations: 3.151 MB / 0.6004 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001563/0.1946, allocations: 127.7 kB / 0.6005 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.1947, allocations: 0 / 0.6005 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.1948, allocations: 11.92 kB / 0.6006 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.1948, allocations: 3.984 kB / 0.6006 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.1951, allocations: 59.89 kB / 0.6006 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.1952, allocations: 19.97 kB / 0.6006 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.1952, allocations: 4 kB / 0.6006 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.69e-05/0.1953, allocations: 15.92 kB / 0.6007 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.1954, allocations: 8 kB / 0.6007 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1954, allocations: 0 / 0.6007 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.1959, allocations: 151.7 kB / 0.6008 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.242e-05/0.1959, allocations: 8 kB / 0.6008 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.1959, allocations: 33.64 kB / 0.6008 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.405e-05/0.196, allocations: 28.23 kB / 0.6009 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.196, allocations: 0 / 0.6009 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.425e-06/0.1961, allocations: 4 kB / 0.6009 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.1961, allocations: 0 / 0.6009 GB, free: 4.051 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.0003572/0.1964, allocations: 323.4 kB / 0.6012 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1965, allocations: 8.031 kB / 0.6012 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.1965, allocations: 38.55 kB / 0.6012 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1966, allocations: 7.859 kB / 0.6012 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1967, allocations: 159.1 kB / 0.6014 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/0.1967, allocations: 29.7 kB / 0.6014 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.1968, allocations: 4 kB / 0.6014 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1969, allocations: 41.69 kB / 0.6015 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.197, allocations: 0 / 0.6015 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.197, allocations: 3.938 kB / 0.6015 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.197, allocations: 7.953 kB / 0.6015 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.1971, allocations: 15.92 kB / 0.6015 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.1975, allocations: 334.1 kB / 0.6018 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.265e-05/0.1975, allocations: 22.58 kB / 0.6018 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.495e-05/0.1976, allocations: 89.16 kB / 0.6019 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1977, allocations: 30.56 kB / 0.6019 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1977, allocations: 0 / 0.6019 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.1978, allocations: 37.59 kB / 0.602 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.1979, allocations: 55.41 kB / 0.602 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.198, allocations: 102 kB / 0.6021 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.198, allocations: 29.7 kB / 0.6022 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.1981, allocations: 91.98 kB / 0.6022 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.1981, allocations: 11.89 kB / 0.6023 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.1981, allocations: 3.938 kB / 0.6023 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.1982, allocations: 314.8 kB / 0.6026 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.298e-05/0.1982, allocations: 4 kB / 0.6026 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.1982, allocations: 17.72 kB / 0.6026 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.142e-05/0.1982, allocations: 8 kB / 0.6026 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1983, allocations: 3.938 kB / 0.6026 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.716e-05/0.1983, allocations: 45.69 kB / 0.6026 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1983, allocations: 4 kB / 0.6026 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1984, allocations: 0 / 0.6026 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1984, allocations: 7.953 kB / 0.6026 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.832e-05/0.1984, allocations: 7.984 kB / 0.6027 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1984, allocations: 0 / 0.6027 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.1985, allocations: 3.938 kB / 0.6027 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.1985, allocations: 8.062 kB / 0.6027 GB, free: 1.945 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.849e-05/0.1986, allocations: 105.8 kB / 0.6028 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.1986, allocations: 4 kB / 0.6028 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1987, allocations: 124.3 kB / 0.6029 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.168e-05/0.1988, allocations: 188.2 kB / 0.6031 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.109e-05/0.1988, allocations: 180.3 kB / 0.6032 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-05/0.1989, allocations: 176.3 kB / 0.6034 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.1991, allocations: 409.2 kB / 0.6038 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-05/0.1992, allocations: 105 kB / 0.6039 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.008e-05/0.1992, allocations: 112.8 kB / 0.604 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.746e-05/0.1993, allocations: 180.3 kB / 0.6042 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.692e-05/0.1994, allocations: 184.3 kB / 0.6044 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3734/0.5728, allocations: 180.2 kB / 0.6045 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.205e-05/0.5729, allocations: 178.2 kB / 0.6047 GB, free: 41.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.573, allocations: 306.1 kB / 0.605 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.5731, allocations: 187.4 kB / 0.6052 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.5732, allocations: 179.7 kB / 0.6053 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.5734, allocations: 112.3 kB / 0.6054 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.5734, allocations: 182.9 kB / 0.6056 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.5735, allocations: 105.2 kB / 0.6057 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.806e-05/0.5736, allocations: 86.31 kB / 0.6058 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5736, allocations: 1.594 kB / 0.6058 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003136/0.5739, allocations: 19.27 kB / 0.6058 GB, free: 40.01 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.0003565/0.5742, allocations: 0.8232 MB / 0.6066 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.5744, allocations: 11.81 kB / 0.6066 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.5744, allocations: 0.7812 kB / 0.6066 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.175e-06/0.5744, allocations: 0.7188 kB / 0.6066 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.5747, allocations: 0.5237 MB / 0.6071 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004564/0.5752, allocations: 226.4 kB / 0.6074 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.5754, allocations: 0.6791 MB / 0.608 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.266e-05/0.5755, allocations: 6.469 kB / 0.608 GB, free: 37.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.5755, allocations: 12.27 kB / 0.608 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.5755, allocations: 3.844 kB / 0.608 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.5886, allocations: 1.244 MB / 0.6093 GB, free: 37.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.5888, allocations: 220.1 kB / 0.6095 GB, free: 37.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.224, allocations: 1.688 kB / 0.6095 GB, free: 37.48 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: