Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",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.001045/0.001045, allocations: 100.1 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.001044/0.001044, 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.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.019/1.019, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003919, allocations: 8 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2253, allocations: 83.42 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5283/0.7537, allocations: 114.3 MB / 0.709 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.7547, allocations: 493.9 kB / 0.7094 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.7548, allocations: 0 / 0.7094 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.7549, allocations: 4.641 kB / 0.7094 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.102e-05/0.755, allocations: 6.484 kB / 0.7094 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009523/0.756, allocations: 205 kB / 0.7096 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.986e-05/0.7561, allocations: 14.34 kB / 0.7097 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.929e-05/0.7561, allocations: 1.703 kB / 0.7097 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/0.7562, allocations: 16.94 kB / 0.7097 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.397e-05/0.7563, allocations: 9.25 kB / 0.7097 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.7563, allocations: 1.25 kB / 0.7097 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006409/0.757, allocations: 178 kB / 0.7099 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.7571, allocations: 12.05 kB / 0.7099 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.7571, allocations: 27.8 kB / 0.7099 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.7574, allocations: 96.14 kB / 0.71 GB, free: 14.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.7574, allocations: 0 / 0.71 GB, free: 14.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7575, allocations: 5.469 kB / 0.71 GB, free: 14.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.7575, allocations: 0 / 0.71 GB, free: 14.59 MB / 0.545 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.000484/0.758, allocations: 351.1 kB / 0.7103 GB, free: 14.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.758, allocations: 13.44 kB / 0.7103 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.7581, allocations: 32.31 kB / 0.7104 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.7581, allocations: 5.141 kB / 0.7104 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.7583, allocations: 162.2 kB / 0.7105 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.7584, allocations: 29.67 kB / 0.7106 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.7584, allocations: 1.031 kB / 0.7106 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.7586, allocations: 42.7 kB / 0.7106 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.7586, allocations: 1.219 kB / 0.7106 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.7586, allocations: 0 / 0.7106 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.7587, allocations: 9.656 kB / 0.7106 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.461e-05/0.7587, allocations: 21.58 kB / 0.7106 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.7597, allocations: 0.5944 MB / 0.7112 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.215e-05/0.7597, allocations: 16.52 kB / 0.7112 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002471/0.76, allocations: 333.8 kB / 0.7115 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.76, allocations: 35.12 kB / 0.7116 GB, free: 12.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.76, allocations: 1.031 kB / 0.7116 GB, free: 12.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001867/0.7602, allocations: 41.36 kB / 0.7116 GB, free: 12.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.7603, allocations: 51.41 kB / 0.7117 GB, free: 12.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.7604, allocations: 99.7 kB / 0.7118 GB, free: 12.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.7604, allocations: 26.55 kB / 0.7118 GB, free: 12.57 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.7605, allocations: 90.75 kB / 0.7119 GB, free: 12.48 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.7605, allocations: 17.41 kB / 0.7119 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.7605, allocations: 0 / 0.7119 GB, free: 12.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.7607, allocations: 317.7 kB / 0.7122 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.7607, allocations: 2.25 kB / 0.7122 GB, free: 12.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.7607, allocations: 19.34 kB / 0.7122 GB, free: 12.13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.7608, allocations: 3.828 kB / 0.7122 GB, free: 12.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7608, allocations: 1.062 kB / 0.7122 GB, free: 12.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001084/0.7609, allocations: 53.98 kB / 0.7123 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.7609, allocations: 5.953 kB / 0.7123 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7609, allocations: 1.031 kB / 0.7123 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.761, allocations: 1.375 kB / 0.7123 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.743e-05/0.761, allocations: 6.344 kB / 0.7123 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.761, allocations: 0.5156 kB / 0.7123 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/0.7611, allocations: 1.531 kB / 0.7123 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.7611, allocations: 2.094 kB / 0.7123 GB, free: 12.09 MB / 0.545 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 9.989e-05/0.7612, allocations: 120.7 kB / 0.7124 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.7613, allocations: 6.219 kB / 0.7124 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.7614, allocations: 117 kB / 0.7125 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.888e-05/0.7615, allocations: 182.2 kB / 0.7127 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-05/0.7616, allocations: 179 kB / 0.7129 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.009e-05/0.7617, allocations: 186.5 kB / 0.713 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.7619, allocations: 411.5 kB / 0.7134 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.317e-05/0.762, allocations: 103 kB / 0.7135 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.562e-05/0.762, allocations: 105.6 kB / 0.7136 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.101e-05/0.7621, allocations: 182.3 kB / 0.7138 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.7622, allocations: 178.2 kB / 0.714 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.824e-05/0.7623, allocations: 182.3 kB / 0.7141 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.456e-05/0.7624, allocations: 182.1 kB / 0.7143 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.7625, allocations: 314 kB / 0.7146 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.489e-05/0.7626, allocations: 183.2 kB / 0.7148 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.841e-05/0.7628, allocations: 182.4 kB / 0.715 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.763, allocations: 114.5 kB / 0.7151 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.565e-05/0.7631, allocations: 181.9 kB / 0.7153 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.7631, allocations: 107.3 kB / 0.7154 GB, free: 8.777 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.666e-05/0.7632, allocations: 82.03 kB / 0.7154 GB, free: 8.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.144e-06/0.7632, allocations: 0 / 0.7154 GB, free: 8.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005548/0.7637, allocations: 64.22 kB / 0.7155 GB, free: 8.68 MB / 0.545 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.0007811/0.7645, allocations: 0.8858 MB / 0.7164 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.91e-05/0.7646, allocations: 7.141 kB / 0.7164 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7647, allocations: 1.406 kB / 0.7164 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.7647, allocations: 1.547 kB / 0.7164 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.7652, allocations: 0.5212 MB / 0.7169 GB, free: 7.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.7658, allocations: 250.4 kB / 0.7171 GB, free: 7.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.7661, allocations: 0.6775 MB / 0.7178 GB, free: 6.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.986e-05/0.7662, allocations: 9.484 kB / 0.7178 GB, free: 6.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.7662, allocations: 8.594 kB / 0.7178 GB, free: 6.371 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.7662, allocations: 7.938 kB / 0.7178 GB, free: 6.363 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.7823, allocations: 2.007 MB / 0.7198 GB, free: 6.117 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002704/0.7827, allocations: 195.8 kB / 0.7199 GB, free: 5.879 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/2.408, allocations: 3.938 kB / 0.72 GB, free: 5.875 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: