Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_Buildings_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.0007666/0.0007665, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00428/0.00428, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 292.7 MB / 0.5502 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005181/0.0005181, allocations: 15.34 kB / 0.6744 GB, free: 25.65 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1858, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5002/0.686, allocations: 129.4 MB / 0.9143 GB, free: 32.55 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02408/0.7102, allocations: 22.89 MB / 0.9367 GB, free: 32.19 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/0.7141, allocations: 104.2 kB / 0.9368 GB, free: 32.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.7172, allocations: 1.207 MB / 0.9379 GB, free: 32.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009731/0.7269, allocations: 3.749 MB / 0.9416 GB, free: 32.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004883/0.7318, allocations: 1.99 MB / 0.9435 GB, free: 31.95 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01069/0.7425, allocations: 8.238 MB / 0.9516 GB, free: 31.03 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003549/0.7461, allocations: 1.9 MB / 0.9534 GB, free: 30.67 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005188/0.7513, allocations: 2.309 MB / 0.9557 GB, free: 30.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.7548, allocations: 1.789 MB / 0.9574 GB, free: 29.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006247/0.7554, allocations: 91.59 kB / 0.9575 GB, free: 29.89 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005065/0.7605, allocations: 1.712 MB / 0.9592 GB, free: 29.71 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008261/0.7613, allocations: 444.9 kB / 0.9596 GB, free: 29.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.7641, allocations: 1.298 MB / 0.9609 GB, free: 29.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005861/0.77, allocations: 4.153 MB / 0.965 GB, free: 27.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.77, allocations: 0 / 0.965 GB, free: 27.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.903e-06/0.77, allocations: 0 / 0.965 GB, free: 27.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.95e-05/0.77, allocations: 1.5 kB / 0.965 GB, free: 27.91 MB / 0.7169 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.004049/0.7741, allocations: 2.677 MB / 0.9676 GB, free: 25.94 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.7741, allocations: 14.14 kB / 0.9676 GB, free: 25.94 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002241/0.7744, allocations: 222.3 kB / 0.9678 GB, free: 25.76 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/0.7784, allocations: 0.9581 MB / 0.9687 GB, free: 25.36 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003356/0.7818, allocations: 2.288 MB / 0.971 GB, free: 23.65 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008815/0.7827, allocations: 326.6 kB / 0.9713 GB, free: 23.52 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.7829, allocations: 164.2 kB / 0.9714 GB, free: 23.47 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003398/0.7863, allocations: 1.975 MB / 0.9734 GB, free: 22.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/0.7864, allocations: 3.938 kB / 0.9734 GB, free: 22.28 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.7865, allocations: 71.86 kB / 0.9734 GB, free: 22.23 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.7865, allocations: 36.88 kB / 0.9735 GB, free: 22.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004115/0.7907, allocations: 1.906 MB / 0.9753 GB, free: 21.32 MB / 0.7169 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.009856/0.8005, allocations: 9.099 MB / 0.9842 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003951/0.8045, allocations: 1.299 MB / 0.9855 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000973/0.8055, allocations: 489 kB / 0.986 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000688/0.8062, allocations: 1.721 MB / 0.9876 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.8062, allocations: 45.81 kB / 0.9877 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/0.8062, allocations: 0 / 0.9877 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008111/0.8143, allocations: 2.512 MB / 0.9901 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.8144, allocations: 86.61 kB / 0.9902 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.8177, allocations: 2.516 MB / 0.9927 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.8178, allocations: 44.8 kB / 0.9927 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006206/0.8184, allocations: 1.043 MB / 0.9937 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/0.8186, allocations: 271 kB / 0.994 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.8188, allocations: 91.36 kB / 0.9941 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.771e-05/0.8188, allocations: 350.2 kB / 0.9944 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/0.8204, allocations: 0.6276 MB / 0.995 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.8222, allocations: 1.016 MB / 0.996 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002637/0.8248, allocations: 1.333 MB / 0.9973 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.8249, allocations: 0 / 0.9973 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006121/0.831, allocations: 2.188 MB / 0.9995 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.831, allocations: 11.94 kB / 0.9995 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.831, allocations: 9.656 kB / 0.9995 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.8325, allocations: 434.7 kB / 0.9999 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.8337, allocations: 311.6 kB / 1 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.8355, allocations: 1.541 MB / 1.002 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/0.8384, allocations: 489.8 kB / 1.002 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.8386, allocations: 59.97 kB / 1.002 GB, free: 1.312 MB / 0.7169 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.0007768/0.8393, allocations: 469.4 kB / 1.003 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.8396, allocations: 245 kB / 1.003 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.8431, allocations: 1.545 MB / 1.004 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.8432, allocations: 8 kB / 1.004 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.8432, allocations: 0 / 1.004 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.8432, allocations: 7.984 kB / 1.004 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007634/0.8508, allocations: 3.691 MB / 1.008 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.8509, allocations: 4 kB / 1.008 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.8515, allocations: 136.2 kB / 1.008 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.853, allocations: 449.1 kB / 1.009 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.956e-05/0.8531, allocations: 19.98 kB / 1.009 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/0.8557, allocations: 1.639 MB / 1.01 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.8557, allocations: 4 kB / 1.01 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/0.8619, allocations: 2.076 MB / 1.012 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.8631, allocations: 0.5054 MB / 1.013 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005597/0.8637, allocations: 16 kB / 1.013 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/0.8657, allocations: 199.7 kB / 1.013 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.285e-05/0.8658, allocations: 59.8 kB / 1.013 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.682e-05/0.8659, allocations: 47.97 kB / 1.013 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003368/0.8693, allocations: 1.769 MB / 1.015 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8693, allocations: 96 / 1.015 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002246/0.8716, allocations: 0.6905 MB / 1.015 GB, free: 3.516 MB / 0.7325 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.007429/0.879, allocations: 3.126 MB / 1.018 GB, free: 404 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004203/0.8832, allocations: 1.432 MB / 1.02 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.8832, allocations: 0 / 1.02 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.8856, allocations: 0.7387 MB / 1.021 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007881/0.8935, allocations: 1.344 MB / 1.022 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04593/0.9394, allocations: 20.06 MB / 1.042 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.9406, allocations: 1.49 MB / 1.043 GB, free: 5.941 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002154/0.9428, allocations: 432.5 kB / 1.043 GB, free: 5.516 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.9441, allocations: 0.9132 MB / 1.044 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of SimCode: time 1.263e-06/0.9441, allocations: 0 / 1.044 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6601/1.604, allocations: 69.32 MB / 1.112 GB, free: 192 kB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/1.604, allocations: 275.3 kB / 1.112 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.985/5.59, allocations: 0 / 1.112 GB, free: 15.82 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)