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-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.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.001399/0.001399, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 189.8 kB / 16.67 MB, free: 6.582 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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 1.044/1.044, allocations: 143.3 MB / 433.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003088/0.003088, allocations: 71.88 kB / 0.5953 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4354, allocations: 82.03 MB / 0.6754 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.1585/0.594, allocations: 136.1 MB / 0.8084 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02937/0.6234, allocations: 22.35 MB / 0.8302 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.6236, allocations: 0 / 0.8302 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.6239, allocations: 43.67 kB / 0.8302 GB, free: 7.078 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002854/0.6242, allocations: 95.36 kB / 0.8303 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01713/0.6414, allocations: 6.673 MB / 0.8368 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004945/0.6419, allocations: 247.9 kB / 0.8371 GB, free: 88 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.6419, allocations: 9.562 kB / 0.8371 GB, free: 80 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003696/0.6423, allocations: 147.5 kB / 0.8372 GB, free: 15.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.6425, allocations: 91.55 kB / 0.8373 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.6425, allocations: 8 kB / 0.8373 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02256/0.6651, allocations: 10.96 MB / 0.848 GB, free: 4.859 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.6653, allocations: 39.89 kB / 0.8481 GB, free: 4.82 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.6654, allocations: 79.64 kB / 0.8481 GB, free: 4.742 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01421/0.6797, allocations: 6.174 MB / 0.8542 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.6797, allocations: 0 / 0.8542 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6797, allocations: 0 / 0.8542 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.6797, allocations: 0 / 0.8542 GB, free: 14.55 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.003076/0.6828, allocations: 1.23 MB / 0.8554 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.6829, allocations: 11.97 kB / 0.8554 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.6829, allocations: 54.73 kB / 0.8554 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.684, allocations: 80.77 kB / 0.8555 GB, free: 13.12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.6843, allocations: 232.1 kB / 0.8557 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.6843, allocations: 15.94 kB / 0.8558 GB, free: 12.84 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.6844, allocations: 12 kB / 0.8558 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.6855, allocations: 461.1 kB / 0.8562 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.6855, allocations: 0 / 0.8562 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.6855, allocations: 8 kB / 0.8562 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.6856, allocations: 7.984 kB / 0.8562 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.6868, allocations: 0.5937 MB / 0.8568 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.6879, allocations: 0.89 MB / 0.8577 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000804/0.6887, allocations: 246.4 kB / 0.8579 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.6888, allocations: 72.83 kB / 0.858 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3845/1.073, allocations: 35.42 MB / 0.8926 GB, free: 165.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/1.073, allocations: 41.84 kB / 0.8926 GB, free: 165.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=25): time 1.863e-06/1.073, allocations: 0 / 0.8926 GB, free: 165.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=25): time 0.001775/1.075, allocations: 423.1 kB / 0.893 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/1.075, allocations: 53.75 kB / 0.8931 GB, free: 165.3 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/1.075, allocations: 144.1 kB / 0.8932 GB, free: 165.2 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/1.075, allocations: 30.83 kB / 0.8932 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/1.075, allocations: 114 kB / 0.8933 GB, free: 165 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.94e-05/1.076, allocations: 88.7 kB / 0.8934 GB, free: 165 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/1.076, allocations: 81.2 kB / 0.8935 GB, free: 164.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.217e-05/1.076, allocations: 328.9 kB / 0.8938 GB, free: 164.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/1.076, allocations: 75.27 kB / 0.8939 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/1.076, allocations: 132.3 kB / 0.894 GB, free: 164.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/1.076, allocations: 223.1 kB / 0.8942 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.077, allocations: 1.156 kB / 0.8942 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006339/1.077, allocations: 301.7 kB / 0.8945 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.077, allocations: 9.781 kB / 0.8945 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.077, allocations: 1.031 kB / 0.8945 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.077, allocations: 3.344 kB / 0.8945 GB, free: 164.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/1.078, allocations: 79.81 kB / 0.8946 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.078, allocations: 6.75 kB / 0.8946 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/1.078, allocations: 23.64 kB / 0.8946 GB, free: 164.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.049e-05/1.078, allocations: 25 kB / 0.8947 GB, free: 164.1 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.881e-05/1.078, allocations: 129.2 kB / 0.8948 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/1.078, allocations: 17.72 kB / 0.8948 GB, free: 164 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/1.08, allocations: 2.344 MB / 0.8971 GB, free: 162.7 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/1.08, allocations: 15.92 kB / 0.8971 GB, free: 162.7 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.08, allocations: 7 kB / 0.8971 GB, free: 162.7 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.08, allocations: 3.984 kB / 0.8971 GB, free: 162.7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/1.082, allocations: 3.422 MB / 0.9004 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.082, allocations: 0 / 0.9004 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/1.083, allocations: 61.77 kB / 0.9005 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.083, allocations: 0 / 0.9005 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/1.083, allocations: 11.88 kB / 0.9005 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.083, allocations: 3.984 kB / 0.9005 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.083, allocations: 7.781 kB / 0.9005 GB, free: 160.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006224/1.083, allocations: 0.5381 MB / 0.9011 GB, free: 160.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/1.083, allocations: 147.7 kB / 0.9012 GB, free: 160 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/1.083, allocations: 4 kB / 0.9012 GB, free: 160 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/1.084, allocations: 15.58 kB / 0.9012 GB, free: 160 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/1.084, allocations: 19.92 kB / 0.9012 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/1.084, allocations: 15.61 kB / 0.9012 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 5.528e-05/1.084, allocations: 104.1 kB / 0.9013 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.084, allocations: 0 / 0.9013 GB, free: 159.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004325/1.088, allocations: 1.65 MB / 0.903 GB, free: 159.4 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.007324/1.095, allocations: 2.914 MB / 0.9058 GB, free: 156.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005279/1.096, allocations: 324.3 kB / 0.9061 GB, free: 156.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/1.096, allocations: 0 / 0.9061 GB, free: 156.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002256/1.096, allocations: 240 kB / 0.9063 GB, free: 156.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005152/1.097, allocations: 58.42 kB / 0.9064 GB, free: 156 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/1.101, allocations: 3.083 MB / 0.9094 GB, free: 152.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/1.101, allocations: 0.7661 MB / 0.9102 GB, free: 152.1 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004044/1.102, allocations: 416.6 kB / 0.9106 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.102, allocations: 91.39 kB / 0.9106 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/1.102, allocations: 0 / 0.9106 GB, free: 151.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08399/1.186, allocations: 60.89 MB / 0.9701 GB, free: 90.71 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.65, allocations: 4.812 kB / 0.9701 GB, free: 90.71 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)