Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",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.005574/0.005574, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001494/0.001494, allocations: 193.8 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.415/1.415, 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-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.018/1.018, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001837, allocations: 71.89 kB / 0.5954 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3704, allocations: 82.02 MB / 0.6755 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01641/0.3868, allocations: 12.97 MB / 0.6881 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003104/0.3899, allocations: 2.678 MB / 0.6908 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.39, allocations: 5.312 kB / 0.6908 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.3904, allocations: 46.27 kB / 0.6908 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.3906, allocations: 95.7 kB / 0.6909 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3918, allocations: 0.4972 MB / 0.6914 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.3921, allocations: 236.7 kB / 0.6916 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.3922, allocations: 13.14 kB / 0.6916 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00867/0.4008, allocations: 3.588 MB / 0.6951 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.401, allocations: 85.52 kB / 0.6952 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.4011, allocations: 8.344 kB / 0.6952 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/0.4035, allocations: 1.073 MB / 0.6963 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.332e-05/0.4036, allocations: 35.89 kB / 0.6963 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.4037, allocations: 87.58 kB / 0.6964 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000658/0.4043, allocations: 366.9 kB / 0.6967 GB, free: 380 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.4044, allocations: 0 / 0.6967 GB, free: 380 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4044, allocations: 4 kB / 0.6967 GB, free: 376 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.728e-06/0.4044, allocations: 0 / 0.6967 GB, free: 376 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007771/0.4052, allocations: 0.5102 MB / 0.6972 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4052, allocations: 16.03 kB / 0.6973 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.893e-05/0.4053, allocations: 46.73 kB / 0.6973 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.4054, allocations: 28.83 kB / 0.6973 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.4057, allocations: 216.2 kB / 0.6975 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.4058, allocations: 12.7 kB / 0.6975 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.4058, allocations: 16.36 kB / 0.6976 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.4062, allocations: 244.8 kB / 0.6978 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4062, allocations: 7.938 kB / 0.6978 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.4062, allocations: 4 kB / 0.6978 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.4063, allocations: 8 kB / 0.6978 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.4069, allocations: 428.1 kB / 0.6982 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.4081, allocations: 0.976 MB / 0.6992 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.4084, allocations: 155.7 kB / 0.6993 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001394/0.4085, allocations: 64.88 kB / 0.6994 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/0.4101, allocations: 1.84 MB / 0.7012 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.4101, allocations: 34.56 kB / 0.7012 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 3.437e-06/0.4101, allocations: 0 / 0.7012 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003392/0.4105, allocations: 155.4 kB / 0.7014 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.4105, allocations: 59.34 kB / 0.7014 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.4107, allocations: 175.9 kB / 0.7016 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.4107, allocations: 37.7 kB / 0.7016 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.644e-05/0.4108, allocations: 140.2 kB / 0.7018 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.4109, allocations: 55.47 kB / 0.7018 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.411, allocations: 49.7 kB / 0.7019 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.4111, allocations: 326.8 kB / 0.7022 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.4112, allocations: 31.98 kB / 0.7022 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.4113, allocations: 139 kB / 0.7023 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.4116, allocations: 205.4 kB / 0.7025 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4116, allocations: 0 / 0.7025 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003415/0.412, allocations: 212.2 kB / 0.7027 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.412, allocations: 8 kB / 0.7027 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.412, allocations: 0 / 0.7027 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.412, allocations: 11.94 kB / 0.7027 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.4122, allocations: 55.91 kB / 0.7028 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4122, allocations: 7.938 kB / 0.7028 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.4123, allocations: 28.25 kB / 0.7028 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.4124, allocations: 20 kB / 0.7029 GB, free: 9.371 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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 0.0001151/0.4125, allocations: 137.6 kB / 0.703 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.988e-05/0.4126, allocations: 15.91 kB / 0.703 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.4129, allocations: 160.5 kB / 0.7032 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.4129, allocations: 3.938 kB / 0.7032 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.4129, allocations: 4 kB / 0.7032 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4129, allocations: 0 / 0.7032 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.4132, allocations: 213.6 kB / 0.7034 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4132, allocations: 0 / 0.7034 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.659e-05/0.4133, allocations: 39.91 kB / 0.7034 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4133, allocations: 0 / 0.7034 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.4133, allocations: 0 / 0.7034 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.4133, allocations: 7.938 kB / 0.7034 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4133, allocations: 0 / 0.7034 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.4136, allocations: 219.4 kB / 0.7036 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.4137, allocations: 109 kB / 0.7037 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.4137, allocations: 4 kB / 0.7037 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.4139, allocations: 27.8 kB / 0.7038 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.414, allocations: 11.98 kB / 0.7038 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.414, allocations: 15.98 kB / 0.7038 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.631e-05/0.4141, allocations: 116 kB / 0.7039 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4141, allocations: 0 / 0.7039 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003686/0.4145, allocations: 83.81 kB / 0.704 GB, free: 8.129 MB / 0.5294 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000791/0.4153, allocations: 0.8472 MB / 0.7048 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.4155, allocations: 111.8 kB / 0.7049 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4155, allocations: 0 / 0.7049 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.4156, allocations: 43.92 kB / 0.7049 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.416, allocations: 60.86 kB / 0.705 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.4184, allocations: 2.062 MB / 0.707 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.4188, allocations: 0.709 MB / 0.7077 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.419, allocations: 53.72 kB / 0.7078 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.447e-05/0.4191, allocations: 47.3 kB / 0.7078 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.4191, allocations: 3.938 kB / 0.7078 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.4467, allocations: 5.592 MB / 0.7133 GB, free: 14.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/8.276, allocations: 10.64 kB / 0.7133 GB, free: 14.56 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)