Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.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.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_y",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.0007482/0.0007481, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.004666/0.004666, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.273/1.273, allocations: 223.3 MB / 240.3 MB, free: 5.344 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 0.9087/0.9087, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004424, allocations: 12 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.153, allocations: 83.4 MB / 0.598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3007/0.4537, allocations: 73.4 MB / 0.6696 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.4697, allocations: 12.68 MB / 0.682 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.4716, allocations: 56.84 kB / 0.6821 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.4732, allocations: 0.682 MB / 0.6827 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005404/0.4787, allocations: 2.268 MB / 0.685 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.4816, allocations: 1.264 MB / 0.6862 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006457/0.4881, allocations: 5.544 MB / 0.6916 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.4899, allocations: 1.154 MB / 0.6927 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.4924, allocations: 1.318 MB / 0.694 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.4941, allocations: 1.129 MB / 0.6951 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.4942, allocations: 55.62 kB / 0.6952 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.4971, allocations: 1.238 MB / 0.6964 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003698/0.4975, allocations: 282.1 kB / 0.6966 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009405/0.4985, allocations: 0.8028 MB / 0.6974 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004162/0.5026, allocations: 2.857 MB / 0.7002 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5027, allocations: 5.469 kB / 0.7002 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5027, allocations: 0 / 0.7002 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.914e-05/0.5027, allocations: 4 kB / 0.7002 GB, free: 10.21 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003677/0.5064, allocations: 1.777 MB / 0.702 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5065, allocations: 13.3 kB / 0.702 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/0.5067, allocations: 155.2 kB / 0.7021 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/0.5075, allocations: 237.4 kB / 0.7024 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.5099, allocations: 1.502 MB / 0.7038 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/0.51, allocations: 72.59 kB / 0.7039 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.5101, allocations: 104.3 kB / 0.704 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.5122, allocations: 1.12 MB / 0.7051 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.5122, allocations: 5.844 kB / 0.7051 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.272e-05/0.5123, allocations: 45.41 kB / 0.7051 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.5124, allocations: 25.44 kB / 0.7052 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.5143, allocations: 0.9337 MB / 0.7061 GB, free: 7.016 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005658/0.52, allocations: 4.917 MB / 0.7109 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.5214, allocations: 0.6523 MB / 0.7115 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007228/0.5222, allocations: 364.8 kB / 0.7119 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006005/0.5228, allocations: 0.8236 MB / 0.7127 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.5228, allocations: 42.22 kB / 0.7127 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.584e-06/0.5228, allocations: 1.188 kB / 0.7127 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007311/0.5302, allocations: 1.891 MB / 0.7145 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.5302, allocations: 58.62 kB / 0.7146 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/0.532, allocations: 1.209 MB / 0.7158 GB, free: 116 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.5321, allocations: 42.98 kB / 0.7158 GB, free: 72 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005022/0.5326, allocations: 0.5989 MB / 0.7164 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.5328, allocations: 223.8 kB / 0.7166 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.877e-05/0.5329, allocations: 59.88 kB / 0.7167 GB, free: 15.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.533, allocations: 336.5 kB / 0.717 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.5338, allocations: 306.8 kB / 0.7173 GB, free: 14.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008247/0.5346, allocations: 0.501 MB / 0.7178 GB, free: 14.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.536, allocations: 0.749 MB / 0.7185 GB, free: 13.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.536, allocations: 0.9688 kB / 0.7185 GB, free: 13.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004758/0.5408, allocations: 1.414 MB / 0.7199 GB, free: 13.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.5409, allocations: 193.1 kB / 0.7201 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.5409, allocations: 4.562 kB / 0.7201 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.5415, allocations: 142.3 kB / 0.7202 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005916/0.5421, allocations: 170.7 kB / 0.7204 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007903/0.5429, allocations: 0.7059 MB / 0.7211 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.5442, allocations: 167 kB / 0.7212 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.5443, allocations: 31.38 kB / 0.7213 GB, free: 12.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.5443, allocations: 4.375 kB / 0.7213 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00448/0.5488, allocations: 1.255 MB / 0.7225 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5488, allocations: 4 kB / 0.7225 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004912/0.5493, allocations: 141.1 kB / 0.7226 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.5499, allocations: 175.8 kB / 0.7228 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007397/0.5507, allocations: 0.7051 MB / 0.7235 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.5519, allocations: 159.1 kB / 0.7236 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.552, allocations: 32 kB / 0.7237 GB, free: 10.27 MB / 0.545 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006765/0.5526, allocations: 424.9 kB / 0.7241 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.5529, allocations: 134.4 kB / 0.7242 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/0.5576, allocations: 1.398 MB / 0.7256 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.5576, allocations: 11.94 kB / 0.7256 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5576, allocations: 4 kB / 0.7256 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004295/0.5619, allocations: 1.236 MB / 0.7268 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007467/0.5695, allocations: 2.753 MB / 0.7295 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.5695, allocations: 4 kB / 0.7295 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.57, allocations: 115.9 kB / 0.7296 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004728/0.5704, allocations: 141 kB / 0.7297 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.5705, allocations: 27.92 kB / 0.7298 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004549/0.5751, allocations: 2.431 MB / 0.7321 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.5751, allocations: 4.281 kB / 0.7321 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005332/0.5804, allocations: 1.863 MB / 0.7339 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.581, allocations: 331.1 kB / 0.7343 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/0.5812, allocations: 19.94 kB / 0.7343 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008641/0.582, allocations: 95.91 kB / 0.7344 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5822, allocations: 56.25 kB / 0.7344 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/0.5822, allocations: 35.97 kB / 0.7345 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001154/0.5834, allocations: 0.8621 MB / 0.7353 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5834, allocations: 0 / 0.7353 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001801/0.5852, allocations: 0.7095 MB / 0.736 GB, free: 13.22 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006251/0.5915, allocations: 2.752 MB / 0.7387 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.594, allocations: 1.166 MB / 0.7398 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.594, allocations: 0 / 0.7398 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.5954, allocations: 0.5994 MB / 0.7404 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/0.5995, allocations: 0.7898 MB / 0.7412 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0244/0.6239, allocations: 11.17 MB / 0.7521 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.6246, allocations: 1.176 MB / 0.7532 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001238/0.6258, allocations: 309.7 kB / 0.7535 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/0.6265, allocations: 0.511 MB / 0.754 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.6265, allocations: 0 / 0.754 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06759/0.6941, allocations: 42.65 MB / 0.7957 GB, free: 76 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003781/0.6945, allocations: 280.4 kB / 0.796 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.377, allocations: 8 kB / 0.796 GB, free: 15.7 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Examples_Carnot_y.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)