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.001219/0.001219, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001244/0.001244, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.278/1.278, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.291/2.291, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 0.8687 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5207, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1109/0.6316, allocations: 131.4 MB / 1.145 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02842/0.6601, allocations: 23.3 MB / 1.168 GB, free: 7.629 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003789/0.6639, allocations: 115.2 kB / 1.168 GB, free: 7.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003591/0.6676, allocations: 1.2 MB / 1.169 GB, free: 6.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00917/0.6768, allocations: 3.772 MB / 1.173 GB, free: 2.523 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004284/0.6811, allocations: 1.955 MB / 1.175 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.007806/0.6889, allocations: 8.284 MB / 1.183 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00254/0.6914, allocations: 1.96 MB / 1.185 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003994/0.6954, allocations: 2.36 MB / 1.187 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.6979, allocations: 1.87 MB / 1.189 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003736/0.6983, allocations: 116 kB / 1.189 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003364/0.7017, allocations: 1.746 MB / 1.191 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005366/0.7023, allocations: 489.6 kB / 1.191 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/0.7038, allocations: 1.321 MB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.7084, allocations: 4.222 MB / 1.197 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7084, allocations: 0 / 1.197 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.31e-07/0.7084, allocations: 0 / 1.197 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.471e-05/0.7085, allocations: 4 kB / 1.197 GB, free: 10.1 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.004851/0.7134, allocations: 3.164 MB / 1.2 GB, free: 6.852 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.7134, allocations: 8.031 kB / 1.2 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002296/0.7136, allocations: 224 kB / 1.2 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/0.7178, allocations: 0.8397 MB / 1.201 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003524/0.7213, allocations: 2.272 MB / 1.203 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008673/0.7222, allocations: 294.9 kB / 1.203 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.7224, allocations: 156 kB / 1.203 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/0.726, allocations: 1.938 MB / 1.205 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.726, allocations: 11.97 kB / 1.205 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.7261, allocations: 63.94 kB / 1.205 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.7262, allocations: 40 kB / 1.205 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004337/0.7305, allocations: 1.807 MB / 1.207 GB, free: 15.05 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.01033/0.7408, allocations: 9.004 MB / 1.216 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004002/0.7449, allocations: 1.195 MB / 1.217 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.7459, allocations: 461.4 kB / 1.217 GB, free: 3.781 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001093/0.747, allocations: 1.722 MB / 1.219 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.856e-05/0.747, allocations: 46.56 kB / 1.219 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/0.747, allocations: 3.984 kB / 1.219 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.007781/0.7548, allocations: 2.321 MB / 1.221 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.7549, allocations: 89.09 kB / 1.222 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003425/0.7583, allocations: 2.481 MB / 1.224 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/0.7584, allocations: 53.64 kB / 1.224 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008906/0.7593, allocations: 1.045 MB / 1.225 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.7595, allocations: 268.2 kB / 1.225 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004193/0.76, allocations: 262.5 kB / 1.226 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.7601, allocations: 345.9 kB / 1.226 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.7618, allocations: 0.5842 MB / 1.226 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.7637, allocations: 0.9699 MB / 1.227 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.7665, allocations: 1.271 MB / 1.229 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7665, allocations: 4 kB / 1.229 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005799/0.7723, allocations: 2.04 MB / 1.231 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.7723, allocations: 8 kB / 1.231 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7723, allocations: 11.98 kB / 1.231 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001413/0.7738, allocations: 423.1 kB / 1.231 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.7749, allocations: 287.6 kB / 1.231 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.7768, allocations: 1.506 MB / 1.233 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.7793, allocations: 431.5 kB / 1.233 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.7794, allocations: 59.97 kB / 1.233 GB, free: 2.738 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.00062/0.78, allocations: 463.4 kB / 1.234 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/0.7804, allocations: 252.9 kB / 1.234 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/0.7836, allocations: 1.49 MB / 1.235 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.7837, allocations: 12 kB / 1.235 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.7837, allocations: 0 / 1.235 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-06/0.7837, allocations: 3.984 kB / 1.235 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006603/0.7903, allocations: 3.591 MB / 1.239 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.7903, allocations: 4 kB / 1.239 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005829/0.7909, allocations: 128 kB / 1.239 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.7923, allocations: 421.2 kB / 1.239 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.7923, allocations: 23.98 kB / 1.239 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.7946, allocations: 1.578 MB / 1.241 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7946, allocations: 4 kB / 1.241 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005319/0.8, allocations: 1.939 MB / 1.243 GB, free: 8.594 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/0.8006, allocations: 489.6 kB / 1.243 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002975/0.8009, allocations: 23.98 kB / 1.243 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/0.8026, allocations: 171.7 kB / 1.244 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.8027, allocations: 51.81 kB / 1.244 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.545e-05/0.8028, allocations: 47.95 kB / 1.244 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002541/0.8053, allocations: 1.746 MB / 1.245 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8053, allocations: 4 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0015/0.8068, allocations: 0.675 MB / 1.246 GB, free: 5.375 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.006592/0.8134, allocations: 2.971 MB / 1.249 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00366/0.8171, allocations: 1.353 MB / 1.25 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8171, allocations: 0 / 1.25 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.8192, allocations: 0.6691 MB / 1.251 GB, free: 324 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3716/1.191, allocations: 1.256 MB / 1.252 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03904/1.23, allocations: 19.75 MB / 1.271 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009152/1.231, allocations: 1.486 MB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00208/1.233, allocations: 440.4 kB / 1.273 GB, free: 216 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009721/1.234, allocations: 0.8999 MB / 1.274 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.92e-07/1.234, allocations: 0 / 1.274 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.4/3.634, allocations: 65.46 MB / 1.338 GB, free: 161 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/3.634, allocations: 286.8 kB / 1.338 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.297/6.931, allocations: 3.234 kB / 1.338 GB, free: 160.6 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)