Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.SteamProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties",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.005682/0.005682, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.001805/0.001805, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.041/1.041, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 71.89 kB / 0.5951 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4338, allocations: 82.01 MB / 0.6752 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.148/0.5819, allocations: 136.1 MB / 0.8081 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02566/0.6076, allocations: 22.33 MB / 0.8299 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000184/0.6078, allocations: 4 kB / 0.8299 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.6081, allocations: 47.67 kB / 0.83 GB, free: 7.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.6085, allocations: 95.36 kB / 0.8301 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01693/0.6254, allocations: 6.685 MB / 0.8366 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.6259, allocations: 247.9 kB / 0.8368 GB, free: 280 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.6259, allocations: 9.562 kB / 0.8369 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.6263, allocations: 139.4 kB / 0.837 GB, free: 132 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.6264, allocations: 87.66 kB / 0.8371 GB, free: 44 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.6265, allocations: 8 kB / 0.8371 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02093/0.6474, allocations: 10.97 MB / 0.8478 GB, free: 5.055 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.6475, allocations: 31.89 kB / 0.8478 GB, free: 5.023 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.6477, allocations: 91.58 kB / 0.8479 GB, free: 4.934 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.6613, allocations: 6.164 MB / 0.8539 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.6614, allocations: 0 / 0.8539 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6614, allocations: 0 / 0.8539 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.6614, allocations: 0 / 0.8539 GB, free: 14.76 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003122/0.6645, allocations: 1.185 MB / 0.8551 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6646, allocations: 11.97 kB / 0.8551 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/0.6646, allocations: 50.73 kB / 0.8551 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.6657, allocations: 88.66 kB / 0.8552 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.666, allocations: 224 kB / 0.8554 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.666, allocations: 19.94 kB / 0.8555 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.6661, allocations: 12 kB / 0.8555 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.6672, allocations: 465.1 kB / 0.8559 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.6672, allocations: 0 / 0.8559 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.374e-05/0.6672, allocations: 8 kB / 0.8559 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.6672, allocations: 4 kB / 0.8559 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.6684, allocations: 0.5937 MB / 0.8565 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.6694, allocations: 0.886 MB / 0.8574 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.6701, allocations: 244.5 kB / 0.8576 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.6703, allocations: 72.83 kB / 0.8577 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4252/1.095, allocations: 35.43 MB / 0.8923 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/1.096, allocations: 36.59 kB / 0.8923 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 1.774e-06/1.096, allocations: 0 / 0.8923 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.001616/1.097, allocations: 419.9 kB / 0.8927 GB, free: 166.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/1.097, allocations: 55.62 kB / 0.8928 GB, free: 166 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/1.097, allocations: 139.8 kB / 0.8929 GB, free: 165.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/1.097, allocations: 37.25 kB / 0.8929 GB, free: 165.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/1.097, allocations: 118 kB / 0.893 GB, free: 165.8 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.536e-05/1.097, allocations: 82.75 kB / 0.8931 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/1.098, allocations: 80.34 kB / 0.8932 GB, free: 165.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.112e-05/1.098, allocations: 325.9 kB / 0.8935 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.098, allocations: 78.55 kB / 0.8936 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/1.098, allocations: 128.9 kB / 0.8937 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/1.098, allocations: 225.2 kB / 0.8939 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.098, allocations: 0 / 0.8939 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006481/1.099, allocations: 301 kB / 0.8942 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.099, allocations: 5.781 kB / 0.8942 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.099, allocations: 5.234 kB / 0.8942 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.099, allocations: 3.469 kB / 0.8942 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/1.099, allocations: 79.78 kB / 0.8943 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/1.1, allocations: 6.719 kB / 0.8943 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/1.1, allocations: 25.69 kB / 0.8943 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/1.1, allocations: 26.55 kB / 0.8943 GB, free: 164.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 9.635e-05/1.1, allocations: 127.3 kB / 0.8945 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/1.1, allocations: 22.58 kB / 0.8945 GB, free: 164.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/1.102, allocations: 2.337 MB / 0.8968 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.102, allocations: 14.95 kB / 0.8968 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.102, allocations: 7.922 kB / 0.8968 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.102, allocations: 0 / 0.8968 GB, free: 163.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/1.104, allocations: 3.427 MB / 0.9001 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.104, allocations: 2.938 kB / 0.9001 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/1.104, allocations: 63.08 kB / 0.9002 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/1.104, allocations: 0 / 0.9002 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/1.104, allocations: 11.7 kB / 0.9002 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/1.104, allocations: 3.938 kB / 0.9002 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.104, allocations: 0 / 0.9002 GB, free: 161.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/1.105, allocations: 0.5359 MB / 0.9007 GB, free: 160.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/1.105, allocations: 148.1 kB / 0.9009 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/1.105, allocations: 7.594 kB / 0.9009 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/1.105, allocations: 15.95 kB / 0.9009 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/1.105, allocations: 19.59 kB / 0.9009 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/1.105, allocations: 13.78 kB / 0.9009 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.782e-05/1.105, allocations: 104 kB / 0.901 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.105, allocations: 0 / 0.901 GB, free: 160.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00399/1.109, allocations: 1.625 MB / 0.9026 GB, free: 160.3 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008652/1.118, allocations: 2.893 MB / 0.9055 GB, free: 157.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006577/1.119, allocations: 321 kB / 0.9058 GB, free: 157.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.119, allocations: 7.938 kB / 0.9058 GB, free: 157.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/1.119, allocations: 237.2 kB / 0.906 GB, free: 157 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/1.12, allocations: 64.25 kB / 0.9061 GB, free: 157 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005645/1.125, allocations: 3.052 MB / 0.909 GB, free: 153.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/1.126, allocations: 0.7622 MB / 0.9098 GB, free: 153 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004611/1.126, allocations: 413.1 kB / 0.9102 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/1.126, allocations: 95.39 kB / 0.9103 GB, free: 152.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.153e-06/1.126, allocations: 0 / 0.9103 GB, free: 152.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08449/1.211, allocations: 61.02 MB / 0.9699 GB, free: 91.55 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.76, allocations: 15.81 kB / 0.9699 GB, free: 91.54 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_SteamProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1)