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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.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.001256/0.001256, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001816/0.001816, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.703/1.703, allocations: 223.2 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.144/1.144, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003671, allocations: 8 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1726, allocations: 83.42 MB / 0.5975 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.4153/0.5879, allocations: 69.37 MB / 0.6653 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02071/0.6087, allocations: 11.96 MB / 0.677 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/0.6121, allocations: 57.31 kB / 0.677 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.6148, allocations: 0.5678 MB / 0.6776 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008531/0.6233, allocations: 1.893 MB / 0.6794 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004444/0.6278, allocations: 0.9603 MB / 0.6804 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01127/0.6391, allocations: 4.801 MB / 0.685 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005226/0.6444, allocations: 1.013 MB / 0.686 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006014/0.6504, allocations: 1.258 MB / 0.6873 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004412/0.6549, allocations: 1.065 MB / 0.6883 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008154/0.6557, allocations: 55.53 kB / 0.6884 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005062/0.6608, allocations: 0.9233 MB / 0.6893 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.6619, allocations: 273 kB / 0.6895 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001572/0.6635, allocations: 354.9 kB / 0.6899 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006103/0.6696, allocations: 2.225 MB / 0.692 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.6696, allocations: 1.125 kB / 0.692 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.815e-06/0.6696, allocations: 0 / 0.692 GB, free: 264 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001449/0.6698, allocations: 0 / 0.692 GB, free: 264 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.008585/0.6784, allocations: 1.807 MB / 0.6938 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.6785, allocations: 10.19 kB / 0.6938 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008383/0.6793, allocations: 147.7 kB / 0.6939 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.6811, allocations: 235.2 kB / 0.6942 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005602/0.6867, allocations: 1.447 MB / 0.6956 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.6869, allocations: 79.97 kB / 0.6957 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005249/0.6875, allocations: 109.5 kB / 0.6958 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004485/0.692, allocations: 1.109 MB / 0.6968 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.72e-05/0.692, allocations: 9.281 kB / 0.6969 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002573/0.6923, allocations: 41.5 kB / 0.6969 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-05/0.6924, allocations: 29.58 kB / 0.6969 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003417/0.6958, allocations: 0.9159 MB / 0.6978 GB, free: 13.11 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.01182/0.7077, allocations: 4.923 MB / 0.7026 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001959/0.7096, allocations: 0.6333 MB / 0.7032 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009961/0.7107, allocations: 370.8 kB / 0.7036 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009382/0.7116, allocations: 0.8269 MB / 0.7044 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.7117, allocations: 46.98 kB / 0.7044 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.757e-06/0.7117, allocations: 0 / 0.7044 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.008185/0.7199, allocations: 1.874 MB / 0.7063 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.72, allocations: 58.34 kB / 0.7063 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/0.7241, allocations: 1.202 MB / 0.7075 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.7243, allocations: 39.11 kB / 0.7075 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.7253, allocations: 0.6029 MB / 0.7081 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004822/0.7258, allocations: 219.7 kB / 0.7083 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.7259, allocations: 18.91 kB / 0.7084 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.7261, allocations: 332.6 kB / 0.7087 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009276/0.7271, allocations: 294.5 kB / 0.709 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.7284, allocations: 0.497 MB / 0.7094 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.7297, allocations: 359.3 kB / 0.7098 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-05/0.7297, allocations: 1.219 kB / 0.7098 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006171/0.7359, allocations: 1.4 MB / 0.7112 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.7362, allocations: 196.2 kB / 0.7113 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.7362, allocations: 4.25 kB / 0.7113 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000795/0.737, allocations: 148.3 kB / 0.7115 GB, free: 3.531 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/0.7378, allocations: 169.5 kB / 0.7117 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/0.739, allocations: 0.7023 MB / 0.7123 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.7412, allocations: 168.2 kB / 0.7125 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.7414, allocations: 31.92 kB / 0.7125 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7414, allocations: 3.5 kB / 0.7125 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005218/0.7466, allocations: 1.253 MB / 0.7138 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.7467, allocations: 6.984 kB / 0.7138 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006019/0.7473, allocations: 143.2 kB / 0.7139 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.7481, allocations: 168.7 kB / 0.7141 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001072/0.7492, allocations: 0.7014 MB / 0.7147 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.7511, allocations: 164.8 kB / 0.7149 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.7512, allocations: 27.25 kB / 0.7149 GB, free: 1.383 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001321/0.7525, allocations: 422.3 kB / 0.7153 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006467/0.7532, allocations: 135.4 kB / 0.7155 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005381/0.7586, allocations: 1.396 MB / 0.7168 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.896e-05/0.7586, allocations: 10.89 kB / 0.7168 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.7587, allocations: 4 kB / 0.7168 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004579/0.7633, allocations: 1.226 MB / 0.718 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009703/0.773, allocations: 2.755 MB / 0.7207 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.839e-05/0.773, allocations: 4 kB / 0.7207 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.7736, allocations: 121.1 kB / 0.7208 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005387/0.7741, allocations: 144.7 kB / 0.721 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/0.7742, allocations: 19.98 kB / 0.721 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005736/0.7799, allocations: 2.434 MB / 0.7234 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.78, allocations: 4 kB / 0.7234 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005891/0.7859, allocations: 1.84 MB / 0.7252 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.7873, allocations: 331.1 kB / 0.7255 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006346/0.7879, allocations: 23.88 kB / 0.7255 GB, free: 7.762 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.7895, allocations: 103.8 kB / 0.7256 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.7897, allocations: 48.38 kB / 0.7257 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.7898, allocations: 31.97 kB / 0.7257 GB, free: 7.582 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002382/0.7922, allocations: 0.8621 MB / 0.7265 GB, free: 6.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7922, allocations: 0 / 0.7265 GB, free: 6.719 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005146/0.7974, allocations: 0.7057 MB / 0.7272 GB, free: 6.012 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.008009/0.8054, allocations: 2.723 MB / 0.7299 GB, free: 3.227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003741/0.8092, allocations: 1.162 MB / 0.731 GB, free: 2.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.8092, allocations: 0 / 0.731 GB, free: 2.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.8108, allocations: 0.5994 MB / 0.7316 GB, free: 1.461 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/0.816, allocations: 0.7585 MB / 0.7323 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/0.8459, allocations: 8.341 MB / 0.7405 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.8473, allocations: 1.169 MB / 0.7416 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002126/0.8494, allocations: 307 kB / 0.7419 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009181/0.8504, allocations: 0.5032 MB / 0.7424 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of SimCode: time 2.624e-06/0.8504, allocations: 0 / 0.7424 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/0.9676, allocations: 42.3 MB / 0.7837 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003279/0.968, allocations: 258.8 kB / 0.784 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/4.384, allocations: 0 / 0.784 GB, free: 11.94 MB / 0.6075 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/linux/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) Environment - environmentSimulation: