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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.005113/0.005113, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001259/0.001259, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8986/0.8986, allocations: 143.3 MB / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 72.27 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1452, allocations: 82.03 MB / 0.6754 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.542/0.6873, allocations: 135.4 MB / 0.8076 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.6875, allocations: 57.23 kB / 0.8077 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.6875, allocations: 0 / 0.8077 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.6876, allocations: 3.938 kB / 0.8077 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.6877, allocations: 13.33 kB / 0.8077 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007727/0.6885, allocations: 241.5 kB / 0.8079 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.6886, allocations: 30.16 kB / 0.808 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.6886, allocations: 5.359 kB / 0.808 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.801e-05/0.6887, allocations: 19.03 kB / 0.808 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.6887, allocations: 13.31 kB / 0.808 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.6887, allocations: 1.219 kB / 0.808 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004401/0.6892, allocations: 245.1 kB / 0.8082 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.6892, allocations: 5.344 kB / 0.8082 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.6893, allocations: 18.2 kB / 0.8083 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.6896, allocations: 189 kB / 0.8084 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6896, allocations: 0 / 0.8084 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6896, allocations: 0 / 0.8084 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.6896, allocations: 1.406 kB / 0.8084 GB, free: 10.19 MB / 0.5919 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.0004371/0.6901, allocations: 367 kB / 0.8088 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6901, allocations: 10.62 kB / 0.8088 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.6902, allocations: 32.34 kB / 0.8088 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.6902, allocations: 2.312 kB / 0.8088 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.6903, allocations: 169.5 kB / 0.809 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-05/0.6904, allocations: 33.25 kB / 0.809 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.6904, allocations: 9.031 kB / 0.809 GB, free: 9.531 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.6906, allocations: 47.53 kB / 0.8091 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6906, allocations: 3.938 kB / 0.8091 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.6906, allocations: 0 / 0.8091 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.6906, allocations: 1.469 kB / 0.8091 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.6907, allocations: 17.31 kB / 0.8091 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.6914, allocations: 0.6006 MB / 0.8097 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.683e-05/0.6915, allocations: 17.36 kB / 0.8097 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.6915, allocations: 7.172 kB / 0.8097 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.6918, allocations: 334.7 kB / 0.81 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.6918, allocations: 38.44 kB / 0.8101 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.6918, allocations: 4 kB / 0.8101 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.6919, allocations: 36.66 kB / 0.8101 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.692, allocations: 55.09 kB / 0.8102 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.6921, allocations: 101.2 kB / 0.8103 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.6921, allocations: 25.7 kB / 0.8103 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.6922, allocations: 87.28 kB / 0.8104 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.6922, allocations: 1.344 kB / 0.8104 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.6922, allocations: 20.52 kB / 0.8104 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.6924, allocations: 318.9 kB / 0.8107 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.6924, allocations: 5.562 kB / 0.8107 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.6924, allocations: 20.94 kB / 0.8107 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.539e-05/0.6925, allocations: 16.94 kB / 0.8107 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6925, allocations: 1 kB / 0.8107 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.68e-05/0.6925, allocations: 58.47 kB / 0.8108 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.6926, allocations: 7 kB / 0.8108 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.6926, allocations: 0 / 0.8108 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6926, allocations: 2.016 kB / 0.8108 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.762e-05/0.6926, allocations: 4.719 kB / 0.8108 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.6926, allocations: 2.531 kB / 0.8108 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.883e-05/0.6927, allocations: 3.953 kB / 0.8108 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.6927, allocations: 10.45 kB / 0.8108 GB, free: 7.664 MB / 0.5919 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.323e-05/0.6928, allocations: 110.9 kB / 0.8109 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.6928, allocations: 8 kB / 0.8109 GB, free: 7.543 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.6929, allocations: 125.3 kB / 0.8111 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.268e-05/0.693, allocations: 182.8 kB / 0.8112 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.579e-05/0.6931, allocations: 180.2 kB / 0.8114 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.889e-05/0.6932, allocations: 180.8 kB / 0.8116 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002586/0.6934, allocations: 415.8 kB / 0.812 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.937e-05/0.6935, allocations: 104.9 kB / 0.8121 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.172e-05/0.6935, allocations: 101 kB / 0.8122 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.673e-05/0.6936, allocations: 186.3 kB / 0.8123 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.911e-05/0.6937, allocations: 178.1 kB / 0.8125 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.876e-05/0.6938, allocations: 178.2 kB / 0.8127 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.05e-05/0.6939, allocations: 186.8 kB / 0.8129 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.694, allocations: 312.9 kB / 0.8132 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.001e-05/0.6941, allocations: 180.1 kB / 0.8133 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.822e-05/0.6942, allocations: 178.4 kB / 0.8135 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.6944, allocations: 114.1 kB / 0.8136 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/0.6945, allocations: 180 kB / 0.8138 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.288e-05/0.6945, allocations: 109.6 kB / 0.8139 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.6946, allocations: 84.66 kB / 0.814 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6946, allocations: 0 / 0.814 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003053/0.6949, allocations: 56.58 kB / 0.814 GB, free: 4.281 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.0006168/0.6955, allocations: 0.8993 MB / 0.8149 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.6956, allocations: 10.62 kB / 0.8149 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6956, allocations: 3 kB / 0.8149 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6956, allocations: 0 / 0.8149 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.696, allocations: 459.8 kB / 0.8154 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.6971, allocations: 1.34 MB / 0.8167 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.6974, allocations: 0.6746 MB / 0.8173 GB, free: 0.9688 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.6975, allocations: 12.23 kB / 0.8173 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.6975, allocations: 10.03 kB / 0.8173 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.6975, allocations: 3.938 kB / 0.8173 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.7207, allocations: 2.275 MB / 0.8196 GB, free: 184 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.161/8.881, allocations: 8.672 kB / 0.8196 GB, free: 180 kB / 0.5919 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/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)