Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL",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.0009557/0.0009556, allocations: 99.62 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.001042/0.001042, 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.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.023/1.023, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004121/0.0004122, allocations: 8 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2036, allocations: 83.41 MB / 0.5973 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3979/0.6016, allocations: 62.94 MB / 0.6588 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.6181, allocations: 11.01 MB / 0.6696 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/0.6212, allocations: 61.97 kB / 0.6696 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003046/0.6243, allocations: 0.7439 MB / 0.6704 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008898/0.6332, allocations: 2.304 MB / 0.6726 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005811/0.6391, allocations: 1.521 MB / 0.6741 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007511/0.6466, allocations: 2.51 MB / 0.6765 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002923/0.6496, allocations: 1.032 MB / 0.6775 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.6536, allocations: 1.149 MB / 0.6787 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/0.6561, allocations: 0.7744 MB / 0.6794 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002774/0.6564, allocations: 55.69 kB / 0.6795 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.6601, allocations: 0.8497 MB / 0.6803 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.6605, allocations: 265.4 kB / 0.6806 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000857/0.6614, allocations: 356.1 kB / 0.6809 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004109/0.6655, allocations: 2.164 MB / 0.683 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6655, allocations: 0 / 0.683 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.806e-06/0.6656, allocations: 5.125 kB / 0.683 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.563e-05/0.6656, allocations: 0 / 0.683 GB, free: 6.035 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.004647/0.6703, allocations: 1.789 MB / 0.6848 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6703, allocations: 12.91 kB / 0.6848 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003216/0.6707, allocations: 148.7 kB / 0.6849 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009765/0.6717, allocations: 240.6 kB / 0.6851 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.6746, allocations: 1.383 MB / 0.6865 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/0.6747, allocations: 80.33 kB / 0.6866 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.6749, allocations: 104.7 kB / 0.6867 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.6773, allocations: 1.106 MB / 0.6878 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.6774, allocations: 5.125 kB / 0.6878 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.886e-05/0.6775, allocations: 38.91 kB / 0.6878 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/0.6775, allocations: 27.94 kB / 0.6878 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.6796, allocations: 0.9259 MB / 0.6887 GB, free: 2.926 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.008189/0.6878, allocations: 4.97 MB / 0.6936 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.6894, allocations: 0.6541 MB / 0.6942 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007079/0.6901, allocations: 0.8236 MB / 0.695 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.6902, allocations: 48.09 kB / 0.6951 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 4.408e-06/0.6902, allocations: 5.344 kB / 0.6951 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007908/0.6981, allocations: 1.881 MB / 0.6969 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.6982, allocations: 67.44 kB / 0.697 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002273/0.7005, allocations: 1.244 MB / 0.6982 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/0.7007, allocations: 39.36 kB / 0.6982 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.7013, allocations: 0.6051 MB / 0.6988 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/0.7016, allocations: 214.5 kB / 0.699 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.7016, allocations: 15.19 kB / 0.699 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7018, allocations: 337.5 kB / 0.6994 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007403/0.7025, allocations: 295.3 kB / 0.6996 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/0.7033, allocations: 0.4959 MB / 0.7001 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007733/0.7041, allocations: 358.2 kB / 0.7005 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.7041, allocations: 1.125 kB / 0.7005 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004945/0.7091, allocations: 1.402 MB / 0.7018 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006414/0.7098, allocations: 1.333 MB / 0.7031 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.7098, allocations: 4.969 kB / 0.7031 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008164/0.7106, allocations: 163.6 kB / 0.7033 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.7113, allocations: 163.2 kB / 0.7035 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.7124, allocations: 0.7337 MB / 0.7042 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.714, allocations: 164.3 kB / 0.7043 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.506e-05/0.7141, allocations: 32.08 kB / 0.7044 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.7141, allocations: 9.297 kB / 0.7044 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004589/0.7187, allocations: 1.254 MB / 0.7056 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.7187, allocations: 3.531 kB / 0.7056 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006592/0.7194, allocations: 169.3 kB / 0.7058 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.7201, allocations: 163.3 kB / 0.7059 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008234/0.7209, allocations: 0.7272 MB / 0.7066 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.7224, allocations: 161.7 kB / 0.7068 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.7225, allocations: 31.84 kB / 0.7068 GB, free: 7.48 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008949/0.7234, allocations: 425.8 kB / 0.7072 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.7238, allocations: 132.1 kB / 0.7073 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/0.7285, allocations: 1.427 MB / 0.7087 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/0.7286, allocations: 6.5 kB / 0.7087 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7286, allocations: 2.188 kB / 0.7087 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004378/0.733, allocations: 1.24 MB / 0.71 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007643/0.7407, allocations: 2.784 MB / 0.7127 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.7407, allocations: 3.938 kB / 0.7127 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005462/0.7413, allocations: 125.5 kB / 0.7128 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006718/0.742, allocations: 159.1 kB / 0.7129 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.742, allocations: 24.41 kB / 0.713 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008606/0.7429, allocations: 0.7217 MB / 0.7137 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/0.7429, allocations: 7.375 kB / 0.7137 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005984/0.7489, allocations: 2.063 MB / 0.7157 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.7501, allocations: 351.1 kB / 0.716 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.7503, allocations: 20 kB / 0.7161 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/0.7513, allocations: 95.77 kB / 0.7161 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.7514, allocations: 56.31 kB / 0.7162 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/0.7515, allocations: 31.97 kB / 0.7162 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001363/0.7528, allocations: 0.8972 MB / 0.7171 GB, free: 56 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7528, allocations: 0 / 0.7171 GB, free: 56 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002218/0.7551, allocations: 0.7057 MB / 0.7178 GB, free: 15.35 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 (55): * Single equations (assignments): 50 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00754/0.7626, allocations: 3.878 MB / 0.7216 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002896/0.7656, allocations: 1.178 MB / 0.7227 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.7656, allocations: 0 / 0.7227 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.7666, allocations: 407.8 kB / 0.7231 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004653/0.7713, allocations: 0.742 MB / 0.7238 GB, free: 9.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007349/0.7787, allocations: 5.788 MB / 0.7295 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/0.7794, allocations: 1.196 MB / 0.7307 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001526/0.781, allocations: 308.4 kB / 0.731 GB, free: 1.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007172/0.7817, allocations: 0.511 MB / 0.7315 GB, free: 1.07 MB / 0.545 GB Notification: Performance of SimCode: time 1.172e-06/0.7817, allocations: 4 kB / 0.7315 GB, free: 1.066 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07386/0.8556, allocations: 42.19 MB / 0.7727 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/0.8559, allocations: 265.5 kB / 0.7729 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/3.815, allocations: 0 / 0.7729 GB, free: 7.152 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: