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.001002/0.001002, allocations: 99.86 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.001475/0.001476, 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.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003235, allocations: 8 kB / 0.5159 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1747, allocations: 83.41 MB / 0.5974 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4221/0.5969, allocations: 110.6 MB / 0.7054 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03051/0.6274, allocations: 19.96 MB / 0.7249 GB, free: 4.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00528/0.6327, allocations: 103.6 kB / 0.725 GB, free: 4.875 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006087/0.6388, allocations: 1.362 MB / 0.7263 GB, free: 4.105 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01522/0.6541, allocations: 4.19 MB / 0.7304 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008896/0.663, allocations: 2.579 MB / 0.7329 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008984/0.672, allocations: 3.915 MB / 0.7367 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003954/0.676, allocations: 1.717 MB / 0.7384 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005695/0.6817, allocations: 2.013 MB / 0.7404 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.6849, allocations: 1.244 MB / 0.7416 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007379/0.6856, allocations: 92 kB / 0.7417 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005056/0.6907, allocations: 1.326 MB / 0.743 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000969/0.6917, allocations: 406.2 kB / 0.7434 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.6934, allocations: 0.5589 MB / 0.7439 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00785/0.7013, allocations: 3.314 MB / 0.7471 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7013, allocations: 0 / 0.7471 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7013, allocations: 0 / 0.7471 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001698/0.7015, allocations: 0 / 0.7471 GB, free: 2.598 MB / 0.5606 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.009773/0.7113, allocations: 2.698 MB / 0.7498 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.149e-05/0.7114, allocations: 8.031 kB / 0.7498 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000937/0.7123, allocations: 231.8 kB / 0.75 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007718/0.72, allocations: 0.9526 MB / 0.7509 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00718/0.7273, allocations: 2.079 MB / 0.753 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001651/0.729, allocations: 322.8 kB / 0.7533 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006231/0.7296, allocations: 164 kB / 0.7534 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007076/0.7367, allocations: 1.965 MB / 0.7554 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.7368, allocations: 4 kB / 0.7554 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002692/0.7371, allocations: 60 kB / 0.7554 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.567e-05/0.7372, allocations: 43.95 kB / 0.7555 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008078/0.7452, allocations: 1.882 MB / 0.7573 GB, free: 7.965 MB / 0.5762 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.01668/0.762, allocations: 9.179 MB / 0.7663 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/0.7667, allocations: 1.342 MB / 0.7676 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.7682, allocations: 1.718 MB / 0.7692 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.7682, allocations: 46.5 kB / 0.7693 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.766e-06/0.7682, allocations: 0 / 0.7693 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.009528/0.7778, allocations: 2.475 MB / 0.7717 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.7779, allocations: 93.03 kB / 0.7718 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004652/0.7825, allocations: 2.535 MB / 0.7743 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002863/0.7829, allocations: 45.7 kB / 0.7743 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.7839, allocations: 1.046 MB / 0.7753 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004195/0.7844, allocations: 272.1 kB / 0.7756 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.7845, allocations: 20 kB / 0.7756 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.7847, allocations: 345.9 kB / 0.7759 GB, free: 3.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.7866, allocations: 0.6232 MB / 0.7766 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.7888, allocations: 1.001 MB / 0.7775 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.7908, allocations: 0.6869 MB / 0.7782 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.7908, allocations: 4 kB / 0.7782 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005667/0.7965, allocations: 1.958 MB / 0.7801 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.7965, allocations: 8.625 kB / 0.7801 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.7966, allocations: 12 kB / 0.7801 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.7983, allocations: 437.2 kB / 0.7806 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.7997, allocations: 307.6 kB / 0.7808 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002427/0.8021, allocations: 1.546 MB / 0.7824 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003773/0.8059, allocations: 478 kB / 0.7828 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003855/0.8064, allocations: 67.91 kB / 0.7829 GB, free: 12.42 MB / 0.6075 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.001433/0.8078, allocations: 457.5 kB / 0.7833 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007254/0.8085, allocations: 252.9 kB / 0.7836 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005254/0.8138, allocations: 1.553 MB / 0.7851 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/0.8139, allocations: 8 kB / 0.7851 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8139, allocations: 0 / 0.7851 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.8139, allocations: 3.984 kB / 0.7851 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009117/0.823, allocations: 3.736 MB / 0.7887 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.8231, allocations: 4 kB / 0.7887 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/0.8237, allocations: 144.1 kB / 0.7889 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/0.8255, allocations: 435.7 kB / 0.7893 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/0.8255, allocations: 31.94 kB / 0.7893 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/0.8284, allocations: 1.628 MB / 0.7909 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.8284, allocations: 4 kB / 0.7909 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00695/0.8354, allocations: 2.338 MB / 0.7932 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/0.8371, allocations: 0.5326 MB / 0.7937 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/0.8376, allocations: 16 kB / 0.7937 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.8395, allocations: 199.7 kB / 0.7939 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.213e-05/0.8396, allocations: 55.86 kB / 0.794 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.8397, allocations: 39.97 kB / 0.794 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003334/0.8431, allocations: 1.789 MB / 0.7958 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.91e-07/0.8431, allocations: 0 / 0.7958 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002553/0.8457, allocations: 0.6828 MB / 0.7964 GB, free: 14.14 MB / 0.6231 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.008283/0.8539, allocations: 4.206 MB / 0.8005 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004629/0.8586, allocations: 1.429 MB / 0.8019 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/0.8587, allocations: 0 / 0.8019 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.8611, allocations: 0.7239 MB / 0.8026 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006767/0.8679, allocations: 1.252 MB / 0.8039 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.8811, allocations: 10.83 MB / 0.8144 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.8824, allocations: 1.533 MB / 0.8159 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00241/0.8848, allocations: 432.2 kB / 0.8163 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.886, allocations: 0.8976 MB / 0.8172 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of SimCode: time 2.785e-06/0.8861, allocations: 0 / 0.8172 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5377/1.424, allocations: 68.34 MB / 0.884 GB, free: 185.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/1.424, allocations: 269.3 kB / 0.8842 GB, free: 185.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.914/5.338, allocations: 0 / 0.8842 GB, free: 185.1 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: