Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",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.00113/0.00113, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001454/0.001454, allocations: 168.7 kB / 15.95 MB, free: 204 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.626/1.626, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.078/1.078, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1923, allocations: 83.42 MB / 0.5975 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5195/0.7118, allocations: 122.2 MB / 0.7168 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.05495/0.7668, allocations: 21.8 MB / 0.7381 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01057/0.7775, allocations: 109 kB / 0.7382 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007765/0.7853, allocations: 0.9975 MB / 0.7392 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.02186/0.8072, allocations: 3.173 MB / 0.7423 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.8173, allocations: 1.519 MB / 0.7438 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.02034/0.8377, allocations: 7.186 MB / 0.7508 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007594/0.8454, allocations: 1.659 MB / 0.7524 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.8565, allocations: 2.158 MB / 0.7545 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006899/0.8635, allocations: 1.664 MB / 0.7562 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001722/0.8653, allocations: 91.94 kB / 0.7562 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009065/0.8744, allocations: 1.228 MB / 0.7574 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.8766, allocations: 405.9 kB / 0.7578 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003275/0.8799, allocations: 0.555 MB / 0.7584 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.89, allocations: 3.345 MB / 0.7616 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.628e-05/0.8901, allocations: 8 kB / 0.7616 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.787e-06/0.8901, allocations: 0 / 0.7616 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002552/0.8904, allocations: 0 / 0.7616 GB, free: 3.914 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.0115/0.9019, allocations: 2.686 MB / 0.7643 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.036e-05/0.902, allocations: 8.031 kB / 0.7643 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0013/0.9033, allocations: 235.7 kB / 0.7645 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005812/0.9091, allocations: 0.9491 MB / 0.7654 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00979/0.919, allocations: 2.194 MB / 0.7676 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/0.9202, allocations: 326.8 kB / 0.7679 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/0.9213, allocations: 160 kB / 0.768 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00843/0.9298, allocations: 1.969 MB / 0.77 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.161e-05/0.9299, allocations: 7.938 kB / 0.77 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005164/0.9304, allocations: 71.78 kB / 0.77 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/0.9305, allocations: 36 kB / 0.7701 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006712/0.9372, allocations: 1.885 MB / 0.7719 GB, free: 9.164 MB / 0.5919 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.02361/0.9609, allocations: 9.09 MB / 0.7808 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004831/0.9658, allocations: 1.295 MB / 0.7821 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.9672, allocations: 482.7 kB / 0.7825 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002203/0.9694, allocations: 1.723 MB / 0.7842 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.9696, allocations: 38.56 kB / 0.7842 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.426e-06/0.9696, allocations: 0 / 0.7842 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.0103/0.9799, allocations: 2.499 MB / 0.7867 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.9801, allocations: 93.11 kB / 0.7868 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00795/0.988, allocations: 2.485 MB / 0.7892 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0004123/0.9885, allocations: 45.7 kB / 0.7892 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001558/0.9901, allocations: 1.042 MB / 0.7902 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006811/0.9908, allocations: 268.1 kB / 0.7905 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.991, allocations: 23.94 kB / 0.7905 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002544/0.9913, allocations: 349.9 kB / 0.7909 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/0.9935, allocations: 0.6193 MB / 0.7915 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/0.9964, allocations: 1.005 MB / 0.7924 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.9987, allocations: 0.6947 MB / 0.7931 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/0.9988, allocations: 0 / 0.7931 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007204/1.006, allocations: 1.962 MB / 0.795 GB, free: 192 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.51e-05/1.006, allocations: 8 kB / 0.795 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.264e-05/1.006, allocations: 8 kB / 0.7951 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002348/1.008, allocations: 442.7 kB / 0.7955 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.01, allocations: 311.6 kB / 0.7958 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/1.013, allocations: 1.536 MB / 0.7973 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004245/1.017, allocations: 481.9 kB / 0.7977 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/1.018, allocations: 63.95 kB / 0.7978 GB, free: 13.31 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (112): * Single equations (assignments): 110 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001973/1.02, allocations: 457.5 kB / 0.7982 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.021, allocations: 245 kB / 0.7985 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005624/1.027, allocations: 1.554 MB / 0.8 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.455e-05/1.027, allocations: 19.92 kB / 0.8 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.027, allocations: 0 / 0.8 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/1.027, allocations: 3.984 kB / 0.8 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.039, allocations: 3.69 MB / 0.8036 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/1.039, allocations: 4 kB / 0.8036 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/1.04, allocations: 131.9 kB / 0.8037 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/1.042, allocations: 437.3 kB / 0.8042 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/1.042, allocations: 35.91 kB / 0.8042 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/1.046, allocations: 1.628 MB / 0.8058 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.507e-05/1.046, allocations: 7.953 kB / 0.8058 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007546/1.053, allocations: 2.07 MB / 0.8078 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/1.056, allocations: 0.5131 MB / 0.8083 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/1.057, allocations: 16 kB / 0.8083 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003037/1.061, allocations: 203.6 kB / 0.8085 GB, free: 2.047 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/1.061, allocations: 55.89 kB / 0.8086 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/1.061, allocations: 43.95 kB / 0.8086 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006025/1.067, allocations: 1.742 MB / 0.8103 GB, free: 208 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/1.067, allocations: 4 kB / 0.8103 GB, free: 204 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004816/1.072, allocations: 0.6749 MB / 0.811 GB, free: 15.52 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01041/1.082, allocations: 3.108 MB / 0.814 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005439/1.088, allocations: 1.424 MB / 0.8154 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-05/1.088, allocations: 4 kB / 0.8154 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/1.091, allocations: 0.72 MB / 0.8161 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/1.101, allocations: 1.275 MB / 0.8174 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05701/1.159, allocations: 14.96 MB / 0.832 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002781/1.161, allocations: 1.486 MB / 0.8334 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.003629/1.165, allocations: 428.1 kB / 0.8338 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/1.167, allocations: 0.9015 MB / 0.8347 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of SimCode: time 1.633e-06/1.167, allocations: 0 / 0.8347 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5711/1.738, allocations: 68.82 MB / 0.9019 GB, free: 193.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/1.738, allocations: 274 kB / 0.9022 GB, free: 192.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.261/5.999, allocations: 0.9375 kB / 0.9022 GB, free: 192.8 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) Environment - environmentSimulation: