Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.644/1.644, allocations: 287.4 MB / 302.6 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009406/0.0009406, allocations: 171.1 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.4 MB / 0.6298 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006528/0.0006528, allocations: 92.66 kB / 0.7431 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003619, allocations: 11.39 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1558, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4293/0.5852, allocations: 122.2 MB / 1.098 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02236/0.6076, allocations: 21.6 MB / 1.119 GB, free: 26.49 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003527/0.6111, allocations: 101.6 kB / 1.119 GB, free: 26.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002767/0.6139, allocations: 1.005 MB / 1.12 GB, free: 25.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008459/0.6224, allocations: 3.134 MB / 1.123 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.6267, allocations: 1.54 MB / 1.125 GB, free: 24.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007343/0.6341, allocations: 7.239 MB / 1.132 GB, free: 21.19 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002657/0.6367, allocations: 1.876 MB / 1.134 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004238/0.641, allocations: 2.152 MB / 1.136 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002876/0.6439, allocations: 1.684 MB / 1.137 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004695/0.6444, allocations: 91.31 kB / 1.138 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00394/0.6483, allocations: 1.226 MB / 1.139 GB, free: 18.55 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000491/0.6488, allocations: 414.2 kB / 1.139 GB, free: 18.33 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009931/0.6498, allocations: 0.5572 MB / 1.14 GB, free: 18.02 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.6528, allocations: 3.145 MB / 1.143 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6529, allocations: 1.156 kB / 1.143 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6529, allocations: 0 / 1.143 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.039e-05/0.6529, allocations: 4 kB / 1.143 GB, free: 16.05 MB / 0.6823 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.003725/0.6566, allocations: 2.685 MB / 1.145 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.6567, allocations: 9.438 kB / 1.145 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001893/0.6569, allocations: 225.9 kB / 1.146 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/0.6606, allocations: 0.956 MB / 1.147 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0039/0.6645, allocations: 2.287 MB / 1.149 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001407/0.6659, allocations: 324.5 kB / 1.149 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.6663, allocations: 161.7 kB / 1.149 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005702/0.672, allocations: 1.975 MB / 1.151 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.6721, allocations: 0 / 1.151 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/0.6723, allocations: 66.53 kB / 1.151 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-05/0.6723, allocations: 37.94 kB / 1.151 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004614/0.677, allocations: 1.883 MB / 1.153 GB, free: 9.371 MB / 0.6823 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.009769/0.6868, allocations: 9.107 MB / 1.162 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/0.6903, allocations: 1.289 MB / 1.163 GB, free: 0.9141 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009108/0.6912, allocations: 477.3 kB / 1.164 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000883/0.6921, allocations: 1.731 MB / 1.165 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.6921, allocations: 46.34 kB / 1.165 GB, free: 14.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/0.6921, allocations: 3.938 kB / 1.165 GB, free: 14.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.007461/0.6996, allocations: 2.489 MB / 1.168 GB, free: 13.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.6997, allocations: 87.02 kB / 1.168 GB, free: 13.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/0.7027, allocations: 2.496 MB / 1.17 GB, free: 11.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-05/0.7028, allocations: 45.42 kB / 1.17 GB, free: 11.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007515/0.7035, allocations: 1.036 MB / 1.171 GB, free: 10.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.7038, allocations: 276.1 kB / 1.172 GB, free: 10.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.7038, allocations: 18.72 kB / 1.172 GB, free: 10.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7039, allocations: 351.9 kB / 1.172 GB, free: 10.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/0.7055, allocations: 0.6308 MB / 1.173 GB, free: 10.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.7073, allocations: 1.009 MB / 1.174 GB, free: 9.309 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.7098, allocations: 1.316 MB / 1.175 GB, free: 8.246 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.7099, allocations: 4 kB / 1.175 GB, free: 8.242 MB / 0.698 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00434/0.7142, allocations: 1.967 MB / 1.177 GB, free: 6.258 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.7142, allocations: 8 kB / 1.177 GB, free: 6.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.7143, allocations: 8 kB / 1.177 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.7157, allocations: 442.4 kB / 1.177 GB, free: 5.805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.7168, allocations: 311.5 kB / 1.178 GB, free: 5.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.7187, allocations: 1.54 MB / 1.179 GB, free: 3.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.7214, allocations: 493.8 kB / 1.18 GB, free: 3.426 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.7215, allocations: 63.97 kB / 1.18 GB, free: 3.363 MB / 0.698 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.0006651/0.7221, allocations: 453.5 kB / 1.18 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.7224, allocations: 248.9 kB / 1.18 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/0.7256, allocations: 1.537 MB / 1.182 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.7256, allocations: 11.98 kB / 1.182 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.7256, allocations: 8 kB / 1.182 GB, free: 1.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.7257, allocations: 3.984 kB / 1.182 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/0.7321, allocations: 3.693 MB / 1.185 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.7321, allocations: 7.938 kB / 1.185 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.7327, allocations: 135.8 kB / 1.186 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.734, allocations: 443 kB / 1.186 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.734, allocations: 31.98 kB / 1.186 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.7363, allocations: 1.624 MB / 1.188 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.7363, allocations: 7.938 kB / 1.188 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005177/0.7415, allocations: 2.076 MB / 1.19 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006994/0.7422, allocations: 0.5054 MB / 1.19 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.7425, allocations: 20 kB / 1.19 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/0.7441, allocations: 195.7 kB / 1.19 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.695e-05/0.7442, allocations: 59.81 kB / 1.19 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/0.7443, allocations: 47.95 kB / 1.19 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002463/0.7467, allocations: 1.746 MB / 1.192 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7468, allocations: 0 / 1.192 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001536/0.7483, allocations: 0.6788 MB / 1.193 GB, free: 5.598 MB / 0.7136 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.006173/0.7545, allocations: 3.09 MB / 1.196 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003509/0.758, allocations: 1.433 MB / 1.197 GB, free: 1.016 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.758, allocations: 4 kB / 1.197 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00206/0.7601, allocations: 0.7307 MB / 1.198 GB, free: 288 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006081/0.7662, allocations: 1.313 MB / 1.199 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02747/0.7937, allocations: 14.99 MB / 1.214 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008831/0.7946, allocations: 1.494 MB / 1.215 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001659/0.7962, allocations: 436.5 kB / 1.216 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.7973, allocations: 0.9054 MB / 1.217 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of SimCode: time 1.563e-06/0.7973, allocations: 3.938 kB / 1.217 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2976/1.095, allocations: 72.77 MB / 1.288 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/1.095, allocations: 257 kB / 1.288 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.001/5.096, allocations: 4 kB / 1.288 GB, free: 3.352 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)