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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001092/0.001092, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9824/0.9824, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1633, allocations: 82.04 MB / 0.5944 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4208/0.5842, allocations: 132.2 MB / 0.7235 GB, free: 2.672 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03338/0.6176, allocations: 23.24 MB / 0.7462 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005076/0.6227, allocations: 118.8 kB / 0.7463 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004061/0.6269, allocations: 1.501 MB / 0.7478 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01138/0.6382, allocations: 4.089 MB / 0.7517 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005576/0.6438, allocations: 2.154 MB / 0.7538 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01033/0.6542, allocations: 6.51 MB / 0.7602 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004339/0.6586, allocations: 2.339 MB / 0.7625 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006949/0.6655, allocations: 2.759 MB / 0.7652 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/0.6692, allocations: 1.875 MB / 0.767 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008206/0.67, allocations: 248 kB / 0.7672 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005379/0.6754, allocations: 1.93 MB / 0.7691 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009838/0.6764, allocations: 0.5993 MB / 0.7697 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002841/0.6793, allocations: 1.458 MB / 0.7711 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009248/0.6885, allocations: 4.538 MB / 0.7756 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.6886, allocations: 0 / 0.7756 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6886, allocations: 0 / 0.7756 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001393/0.6887, allocations: 0 / 0.7756 GB, free: 3.84 MB / 0.5919 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.006801/0.6955, allocations: 3.169 MB / 0.7787 GB, free: 0.5859 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.6956, allocations: 12.02 kB / 0.7787 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000246/0.6958, allocations: 223.9 kB / 0.7789 GB, free: 352 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/0.7003, allocations: 0.8438 MB / 0.7797 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00403/0.7044, allocations: 2.21 MB / 0.7819 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009683/0.7054, allocations: 286.9 kB / 0.7822 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.7056, allocations: 164 kB / 0.7823 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003899/0.7095, allocations: 1.946 MB / 0.7842 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.7095, allocations: 0 / 0.7842 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.7097, allocations: 64 kB / 0.7843 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.7097, allocations: 39.94 kB / 0.7843 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004783/0.7145, allocations: 1.815 MB / 0.7861 GB, free: 8.84 MB / 0.6075 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.01235/0.7269, allocations: 9.075 MB / 0.7949 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/0.7316, allocations: 1.191 MB / 0.7961 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.7327, allocations: 466.1 kB / 0.7965 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001497/0.7342, allocations: 1.718 MB / 0.7982 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.7343, allocations: 46.56 kB / 0.7983 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 5.17e-06/0.7343, allocations: 0 / 0.7983 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008927/0.7432, allocations: 2.335 MB / 0.8006 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.7433, allocations: 81.11 kB / 0.8006 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/0.7472, allocations: 2.524 MB / 0.8031 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.7473, allocations: 41.7 kB / 0.8031 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008514/0.7482, allocations: 1.034 MB / 0.8041 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.7485, allocations: 272.1 kB / 0.8044 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004179/0.7489, allocations: 254.6 kB / 0.8046 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.7491, allocations: 349.9 kB / 0.805 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001818/0.7509, allocations: 0.5881 MB / 0.8056 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/0.7531, allocations: 0.966 MB / 0.8065 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00322/0.7563, allocations: 1.262 MB / 0.8077 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.7563, allocations: 0 / 0.8077 GB, free: 1.285 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006906/0.7632, allocations: 2.048 MB / 0.8097 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.7633, allocations: 8 kB / 0.8097 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.7633, allocations: 8 kB / 0.8097 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/0.765, allocations: 423.9 kB / 0.8101 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.7662, allocations: 283.6 kB / 0.8104 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.7684, allocations: 1.518 MB / 0.8119 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/0.7713, allocations: 389.2 kB / 0.8123 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/0.7715, allocations: 63.97 kB / 0.8123 GB, free: 12.49 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009274/0.7724, allocations: 453.5 kB / 0.8128 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/0.773, allocations: 252.8 kB / 0.813 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/0.7767, allocations: 1.504 MB / 0.8145 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.7767, allocations: 12 kB / 0.8145 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7768, allocations: 0 / 0.8145 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.7768, allocations: 3.984 kB / 0.8145 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007551/0.7843, allocations: 3.61 MB / 0.818 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.7844, allocations: 7.938 kB / 0.818 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.785, allocations: 136.2 kB / 0.8182 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.7864, allocations: 415.2 kB / 0.8185 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.7865, allocations: 27.98 kB / 0.8186 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002654/0.7892, allocations: 1.565 MB / 0.8201 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/0.7892, allocations: 7.938 kB / 0.8201 GB, free: 4.336 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006283/0.7955, allocations: 1.937 MB / 0.822 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.7965, allocations: 485.6 kB / 0.8225 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/0.7969, allocations: 20 kB / 0.8225 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/0.7987, allocations: 147.8 kB / 0.8226 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/0.7988, allocations: 59.81 kB / 0.8227 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.282e-05/0.7989, allocations: 39.95 kB / 0.8227 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003074/0.802, allocations: 1.765 MB / 0.8244 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.7e-07/0.802, allocations: 0 / 0.8244 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002002/0.804, allocations: 0.6867 MB / 0.8251 GB, free: 15.12 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007475/0.8115, allocations: 3.022 MB / 0.8281 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004458/0.816, allocations: 1.405 MB / 0.8294 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.816, allocations: 0 / 0.8294 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.8183, allocations: 0.6647 MB / 0.8301 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006457/0.8248, allocations: 1.327 MB / 0.8314 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03721/0.862, allocations: 19.2 MB / 0.8501 GB, free: 3.992 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.8631, allocations: 1.486 MB / 0.8516 GB, free: 2.477 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002209/0.8653, allocations: 436.3 kB / 0.852 GB, free: 2.059 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.8665, allocations: 0.8976 MB / 0.8529 GB, free: 1.164 MB / 0.67 GB Notification: Performance of SimCode: time 1.252e-06/0.8665, allocations: 3.938 kB / 0.8529 GB, free: 1.16 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/1.224, allocations: 68.64 MB / 0.9199 GB, free: 186.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.92, allocations: 1.031 kB / 0.9199 GB, free: 186.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/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)