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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006366/0.006366, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001697/0.001697, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.417/2.417, allocations: 437.1 MB / 0.7106 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 71.88 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2326, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5538/0.7864, allocations: 132.2 MB / 1.295 GB, free: 17.89 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02231/0.8088, allocations: 23.22 MB / 1.318 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002892/0.8117, allocations: 120 kB / 1.318 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.8143, allocations: 1.498 MB / 1.32 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007487/0.8218, allocations: 4.092 MB / 1.324 GB, free: 408 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004354/0.8261, allocations: 2.174 MB / 1.326 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006976/0.8331, allocations: 6.533 MB / 1.332 GB, free: 11.94 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/0.8357, allocations: 2.352 MB / 1.334 GB, free: 10.78 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00474/0.8404, allocations: 2.756 MB / 1.337 GB, free: 9.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.8425, allocations: 1.87 MB / 1.339 GB, free: 8.535 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002972/0.8428, allocations: 245.6 kB / 1.339 GB, free: 8.535 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.8464, allocations: 1.938 MB / 1.341 GB, free: 7.816 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004936/0.8469, allocations: 0.5946 MB / 1.342 GB, free: 7.418 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001311/0.8482, allocations: 1.453 MB / 1.343 GB, free: 6.508 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004551/0.8528, allocations: 4.376 MB / 1.347 GB, free: 4.797 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8528, allocations: 1.188 kB / 1.347 GB, free: 4.797 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8528, allocations: 0 / 1.347 GB, free: 4.797 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.424e-05/0.8528, allocations: 0 / 1.347 GB, free: 4.797 MB / 1.014 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.004649/0.8575, allocations: 3.253 MB / 1.35 GB, free: 2.668 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.8575, allocations: 10.19 kB / 1.35 GB, free: 2.668 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002316/0.8577, allocations: 222.6 kB / 1.351 GB, free: 2.523 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00379/0.8615, allocations: 0.8506 MB / 1.352 GB, free: 2.254 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003738/0.8653, allocations: 2.345 MB / 1.354 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.747e-05/0.8654, allocations: 135.6 kB / 1.354 GB, free: 400 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.8656, allocations: 158.2 kB / 1.354 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003423/0.869, allocations: 1.922 MB / 1.356 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.8691, allocations: 5.312 kB / 1.356 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.8692, allocations: 61.75 kB / 1.356 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.8692, allocations: 42.12 kB / 1.356 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004195/0.8734, allocations: 1.785 MB / 1.358 GB, free: 14.23 MB / 1.029 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.01047/0.8839, allocations: 8.99 MB / 1.367 GB, free: 6.402 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/0.8877, allocations: 1.197 MB / 1.368 GB, free: 5.781 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000962/0.8886, allocations: 460.6 kB / 1.368 GB, free: 5.555 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.8898, allocations: 1.724 MB / 1.37 GB, free: 3.523 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.8899, allocations: 44.38 kB / 1.37 GB, free: 3.477 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.043e-06/0.8899, allocations: 0 / 1.37 GB, free: 3.477 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.007516/0.8974, allocations: 2.336 MB / 1.372 GB, free: 2.203 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.8975, allocations: 84.14 kB / 1.372 GB, free: 2.109 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/0.9005, allocations: 2.491 MB / 1.375 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.534e-05/0.9005, allocations: 46.73 kB / 1.375 GB, free: 0.7461 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008561/0.9014, allocations: 1.049 MB / 1.376 GB, free: 15.81 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.9016, allocations: 284.4 kB / 1.376 GB, free: 15.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003705/0.902, allocations: 262.7 kB / 1.376 GB, free: 15.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.9022, allocations: 352.7 kB / 1.377 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.9037, allocations: 0.5689 MB / 1.377 GB, free: 14.8 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.9056, allocations: 0.9486 MB / 1.378 GB, free: 14.06 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/0.9083, allocations: 1.244 MB / 1.379 GB, free: 13.25 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.9083, allocations: 9.25 kB / 1.379 GB, free: 13.25 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00553/0.9138, allocations: 2.031 MB / 1.381 GB, free: 12.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.9138, allocations: 7.344 kB / 1.381 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.9139, allocations: 9.469 kB / 1.381 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.9152, allocations: 418.4 kB / 1.382 GB, free: 12.02 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.9162, allocations: 278.2 kB / 1.382 GB, free: 11.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.9183, allocations: 1.511 MB / 1.384 GB, free: 10.31 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/0.9204, allocations: 366.5 kB / 1.384 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.9206, allocations: 59.97 kB / 1.384 GB, free: 9.895 MB / 1.045 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.0006277/0.9212, allocations: 461.8 kB / 1.384 GB, free: 9.434 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.9216, allocations: 266.2 kB / 1.385 GB, free: 9.172 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.925, allocations: 1.49 MB / 1.386 GB, free: 7.66 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/0.925, allocations: 12 kB / 1.386 GB, free: 7.648 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.925, allocations: 0 / 1.386 GB, free: 7.648 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.9251, allocations: 3.984 kB / 1.386 GB, free: 7.645 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006766/0.9318, allocations: 3.602 MB / 1.39 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.9318, allocations: 11.94 kB / 1.39 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005602/0.9324, allocations: 132.2 kB / 1.39 GB, free: 3.785 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.9337, allocations: 420.4 kB / 1.39 GB, free: 3.371 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.9338, allocations: 23.98 kB / 1.39 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002542/0.9363, allocations: 1.573 MB / 1.392 GB, free: 1.723 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.9363, allocations: 7.938 kB / 1.392 GB, free: 1.715 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005439/0.9418, allocations: 1.945 MB / 1.394 GB, free: 15.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006438/0.9424, allocations: 498.9 kB / 1.394 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.9427, allocations: 23.94 kB / 1.394 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.9442, allocations: 127.8 kB / 1.394 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.9443, allocations: 67.72 kB / 1.394 GB, free: 14.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.052e-05/0.9443, allocations: 43.91 kB / 1.394 GB, free: 14.95 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002507/0.9469, allocations: 1.746 MB / 1.396 GB, free: 13.2 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9469, allocations: 0 / 1.396 GB, free: 13.2 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001556/0.9484, allocations: 0.6979 MB / 1.397 GB, free: 12.5 MB / 1.061 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.006616/0.9551, allocations: 3.006 MB / 1.4 GB, free: 9.426 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00367/0.9587, allocations: 1.358 MB / 1.401 GB, free: 8.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9588, allocations: 3.938 kB / 1.401 GB, free: 8.066 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.00219/0.9609, allocations: 0.6695 MB / 1.402 GB, free: 7.398 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004866/0.9658, allocations: 1.329 MB / 1.403 GB, free: 6.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03031/0.9961, allocations: 16.74 MB / 1.419 GB, free: 4.883 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.9972, allocations: 1.489 MB / 1.421 GB, free: 3.355 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001282/0.9985, allocations: 424.6 kB / 1.421 GB, free: 2.938 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/0.9996, allocations: 0.9131 MB / 1.422 GB, free: 2.023 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.9996, allocations: 7.875 kB / 1.422 GB, free: 2.016 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.084/6.084, allocations: 65.86 MB / 1.486 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.57/26.65, allocations: 19.91 kB / 1.486 GB, free: 0.9492 MB / 1.139 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=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)