Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_10_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.0009705/0.0009705, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001287/0.001287, allocations: 176.8 kB / 16.27 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.276/1.276, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.326/2.326, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5537, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1037/0.6573, allocations: 129.4 MB / 1.149 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02654/0.6839, allocations: 23.05 MB / 1.172 GB, free: 6.906 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002901/0.6869, allocations: 103.3 kB / 1.172 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002723/0.6896, allocations: 1.216 MB / 1.173 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008068/0.6977, allocations: 3.77 MB / 1.177 GB, free: 1.797 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003806/0.7015, allocations: 1.953 MB / 1.179 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007675/0.7092, allocations: 8.283 MB / 1.187 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.7114, allocations: 1.903 MB / 1.189 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.715, allocations: 2.298 MB / 1.191 GB, free: 3.293 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.7169, allocations: 1.784 MB / 1.193 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.7171, allocations: 92 kB / 1.193 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.7203, allocations: 1.707 MB / 1.195 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003613/0.7207, allocations: 449.6 kB / 1.195 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.7218, allocations: 1.295 MB / 1.196 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/0.7255, allocations: 4.131 MB / 1.2 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.7256, allocations: 0 / 1.2 GB, free: 9.805 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7256, allocations: 4 kB / 1.2 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.7256, allocations: 0 / 1.2 GB, free: 9.801 MB / 0.9512 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.004116/0.7297, allocations: 2.666 MB / 1.203 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7298, allocations: 8.031 kB / 1.203 GB, free: 7.043 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002304/0.73, allocations: 224 kB / 1.203 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004157/0.7342, allocations: 0.9567 MB / 1.204 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003493/0.7377, allocations: 2.264 MB / 1.206 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000944/0.7386, allocations: 326.8 kB / 1.207 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.7389, allocations: 160 kB / 1.207 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003629/0.7425, allocations: 1.981 MB / 1.209 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.7425, allocations: 4 kB / 1.209 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.7427, allocations: 67.94 kB / 1.209 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.7427, allocations: 40 kB / 1.209 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/0.7472, allocations: 1.897 MB / 1.211 GB, free: 14.98 MB / 0.9669 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.01031/0.7575, allocations: 9.078 MB / 1.219 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/0.7618, allocations: 1.306 MB / 1.221 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.7629, allocations: 481.4 kB / 1.221 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000995/0.7639, allocations: 1.719 MB / 1.223 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.7639, allocations: 46.5 kB / 1.223 GB, free: 1.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.374e-06/0.7639, allocations: 7.938 kB / 1.223 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.008237/0.7722, allocations: 2.501 MB / 1.225 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.7722, allocations: 89.11 kB / 1.225 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/0.7755, allocations: 2.508 MB / 1.228 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/0.7756, allocations: 45.7 kB / 1.228 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00077/0.7763, allocations: 1.049 MB / 1.229 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.7765, allocations: 256.2 kB / 1.229 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.7767, allocations: 93.66 kB / 1.229 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7768, allocations: 345.9 kB / 1.23 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.7785, allocations: 0.6311 MB / 1.23 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/0.7805, allocations: 1.013 MB / 1.231 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.7834, allocations: 1.33 MB / 1.233 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.7834, allocations: 7.938 kB / 1.233 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0061/0.7895, allocations: 2.196 MB / 1.235 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.7895, allocations: 8 kB / 1.235 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.7895, allocations: 8.625 kB / 1.235 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.791, allocations: 437.2 kB / 1.235 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.7922, allocations: 303.6 kB / 1.235 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/0.7942, allocations: 1.552 MB / 1.237 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002586/0.7968, allocations: 475.6 kB / 1.237 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.7969, allocations: 55.97 kB / 1.237 GB, free: 2.02 MB / 0.9825 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.000601/0.7975, allocations: 470.2 kB / 1.238 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002844/0.7978, allocations: 252.9 kB / 1.238 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.8012, allocations: 1.549 MB / 1.24 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.8012, allocations: 8 kB / 1.24 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8012, allocations: 0 / 1.24 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.8012, allocations: 15.91 kB / 1.24 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006719/0.8079, allocations: 3.692 MB / 1.243 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.808, allocations: 4 kB / 1.243 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005863/0.8085, allocations: 140.2 kB / 1.243 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.8099, allocations: 429.2 kB / 1.244 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.8099, allocations: 27.98 kB / 1.244 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.8124, allocations: 1.628 MB / 1.245 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.8124, allocations: 4 kB / 1.245 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005666/0.8181, allocations: 2.08 MB / 1.247 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/0.8188, allocations: 0.5054 MB / 1.248 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002439/0.819, allocations: 20 kB / 1.248 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.8207, allocations: 191.7 kB / 1.248 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.8208, allocations: 63.8 kB / 1.248 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.131e-05/0.8209, allocations: 43.97 kB / 1.248 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002439/0.8233, allocations: 1.765 MB / 1.25 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8233, allocations: 0 / 1.25 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001437/0.8248, allocations: 0.6788 MB / 1.251 GB, free: 4.191 MB / 0.9981 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.006743/0.8315, allocations: 3.123 MB / 1.254 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4253/1.257, allocations: 1.431 MB / 1.255 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.257, allocations: 4.156 kB / 1.255 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002682/1.26, allocations: 0.7171 MB / 1.256 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007419/1.267, allocations: 1.314 MB / 1.257 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04182/1.309, allocations: 20.23 MB / 1.277 GB, free: 215.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009282/1.31, allocations: 1.488 MB / 1.278 GB, free: 214.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002169/1.312, allocations: 437.6 kB / 1.279 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.313, allocations: 0.9159 MB / 1.28 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.313, allocations: 3.938 kB / 1.28 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.916/7.229, allocations: 68.82 MB / 1.347 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002408/7.23, allocations: 278.6 kB / 1.347 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.769/12, allocations: 0 / 1.347 GB, free: 154.3 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)