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.0009755/0.0009754, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009357/0.0009356, allocations: 177.3 kB / 15.95 MB, free: 216 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.454/1.454, allocations: 223.2 MB / 239.9 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.044/1.044, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 11.98 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1693, allocations: 83.4 MB / 0.5973 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3606/0.5299, allocations: 62.93 MB / 0.6588 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01684/0.5468, allocations: 11 MB / 0.6695 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.5498, allocations: 54 kB / 0.6696 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.553, allocations: 0.746 MB / 0.6703 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009701/0.5627, allocations: 2.304 MB / 0.6726 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005604/0.5683, allocations: 1.523 MB / 0.6741 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006369/0.5747, allocations: 2.503 MB / 0.6765 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.577, allocations: 1.037 MB / 0.6775 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.5803, allocations: 1.157 MB / 0.6787 GB, free: 7.578 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.582, allocations: 0.7688 MB / 0.6794 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001886/0.5822, allocations: 56.03 kB / 0.6795 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.5854, allocations: 0.8358 MB / 0.6803 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003914/0.5858, allocations: 256.2 kB / 0.6805 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.5864, allocations: 359.9 kB / 0.6809 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.59, allocations: 2.158 MB / 0.683 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.59, allocations: 0 / 0.683 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.045e-06/0.59, allocations: 2.188 kB / 0.683 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.391e-05/0.5901, allocations: 0 / 0.683 GB, free: 6.18 MB / 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.004472/0.5946, allocations: 1.785 MB / 0.6847 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.5946, allocations: 9 kB / 0.6847 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003509/0.595, allocations: 146.9 kB / 0.6849 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5962, allocations: 240.4 kB / 0.6851 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.5996, allocations: 1.385 MB / 0.6864 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.161e-05/0.5997, allocations: 75.94 kB / 0.6865 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.5998, allocations: 105.6 kB / 0.6866 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/0.6022, allocations: 1.105 MB / 0.6877 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.6022, allocations: 1.375 kB / 0.6877 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.451e-05/0.6023, allocations: 41.61 kB / 0.6877 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.154e-05/0.6024, allocations: 33.31 kB / 0.6878 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.6046, allocations: 0.9167 MB / 0.6887 GB, free: 3.082 MB / 0.5137 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.007832/0.6124, allocations: 4.967 MB / 0.6935 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.6139, allocations: 0.6461 MB / 0.6941 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007336/0.6147, allocations: 0.8261 MB / 0.695 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.6147, allocations: 38.97 kB / 0.695 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.855e-06/0.6148, allocations: 3.938 kB / 0.695 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.008148/0.6229, allocations: 1.87 MB / 0.6968 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.623, allocations: 58.83 kB / 0.6969 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/0.6253, allocations: 1.254 MB / 0.6981 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.6255, allocations: 42.08 kB / 0.6981 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006005/0.6261, allocations: 0.6109 MB / 0.6987 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.6264, allocations: 216.7 kB / 0.6989 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.6264, allocations: 11.06 kB / 0.699 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6266, allocations: 333.4 kB / 0.6993 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007553/0.6274, allocations: 297.4 kB / 0.6996 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009028/0.6283, allocations: 499.7 kB / 0.7 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.6291, allocations: 368 kB / 0.7004 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.6291, allocations: 1.281 kB / 0.7004 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005123/0.6342, allocations: 1.388 MB / 0.7017 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007193/0.635, allocations: 1.427 MB / 0.7031 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.635, allocations: 4.156 kB / 0.7031 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007337/0.6357, allocations: 144 kB / 0.7033 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008097/0.6366, allocations: 169.8 kB / 0.7034 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.6376, allocations: 0.7048 MB / 0.7041 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.6394, allocations: 169.6 kB / 0.7043 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.685e-05/0.6395, allocations: 27.81 kB / 0.7043 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.6395, allocations: 5.188 kB / 0.7043 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004692/0.6442, allocations: 1.255 MB / 0.7055 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6442, allocations: 3.312 kB / 0.7055 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005708/0.6448, allocations: 144.9 kB / 0.7057 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.6455, allocations: 168.9 kB / 0.7058 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000866/0.6464, allocations: 0.7045 MB / 0.7065 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.648, allocations: 166 kB / 0.7067 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/0.6481, allocations: 32.33 kB / 0.7067 GB, free: 7.512 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.001074/0.6492, allocations: 421.8 kB / 0.7071 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.6496, allocations: 135.3 kB / 0.7073 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005076/0.6547, allocations: 1.393 MB / 0.7086 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.6547, allocations: 6.125 kB / 0.7086 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.6547, allocations: 0 / 0.7086 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004491/0.6592, allocations: 1.238 MB / 0.7098 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007933/0.6672, allocations: 2.779 MB / 0.7125 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.6672, allocations: 2.688 kB / 0.7125 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.6678, allocations: 118 kB / 0.7127 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/0.6683, allocations: 148.6 kB / 0.7128 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.6684, allocations: 21.23 kB / 0.7128 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005043/0.6734, allocations: 2.482 MB / 0.7152 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.6735, allocations: 8.125 kB / 0.7153 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006038/0.6795, allocations: 2.06 MB / 0.7173 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.6807, allocations: 359 kB / 0.7176 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.681, allocations: 16 kB / 0.7176 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009483/0.6819, allocations: 87.88 kB / 0.7177 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.6821, allocations: 64.25 kB / 0.7178 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.6822, allocations: 35.98 kB / 0.7178 GB, free: 15.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001509/0.6837, allocations: 0.8894 MB / 0.7187 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6837, allocations: 0 / 0.7187 GB, free: 14.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002589/0.6863, allocations: 0.7213 MB / 0.7194 GB, free: 13.7 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.007478/0.6938, allocations: 3.859 MB / 0.7231 GB, free: 9.727 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002917/0.6967, allocations: 1.168 MB / 0.7243 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.6968, allocations: 0 / 0.7243 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/0.6984, allocations: 0.5994 MB / 0.7249 GB, free: 7.957 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/0.7027, allocations: 0.7478 MB / 0.7256 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008069/0.7108, allocations: 5.935 MB / 0.7314 GB, free: 1.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009773/0.7118, allocations: 1.196 MB / 0.7326 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001684/0.7135, allocations: 307 kB / 0.7329 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/0.7143, allocations: 0.507 MB / 0.7333 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.663e-06/0.7143, allocations: 0 / 0.7333 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07966/0.794, allocations: 42.26 MB / 0.7746 GB, free: 5.441 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/0.7943, allocations: 257.2 kB / 0.7749 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.622, allocations: 0 / 0.7749 GB, free: 5.098 MB / 0.5919 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: