Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_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.00145/0.00145, allocations: 107.1 kB / 15.99 MB, free: 6.348 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.00169/0.00169, allocations: 193.4 kB / 16.91 MB, free: 6.191 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.243/1.243, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6329/0.6329, allocations: 115.3 MB / 406.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.275, allocations: 76.18 MB / 0.556 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.09881/0.3738, allocations: 131 MB / 0.6839 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02651/0.4003, allocations: 23.05 MB / 0.7065 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003518/0.4039, allocations: 115.2 kB / 0.7066 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.4073, allocations: 1.282 MB / 0.7078 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008854/0.4162, allocations: 3.817 MB / 0.7115 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00431/0.4206, allocations: 1.989 MB / 0.7135 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00691/0.4275, allocations: 6.571 MB / 0.7199 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002967/0.4305, allocations: 2.345 MB / 0.7222 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005317/0.4358, allocations: 2.761 MB / 0.7249 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.4384, allocations: 1.937 MB / 0.7268 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005613/0.439, allocations: 244 kB / 0.727 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.4426, allocations: 1.957 MB / 0.7289 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005481/0.4432, allocations: 0.6031 MB / 0.7295 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.4445, allocations: 1.454 MB / 0.7309 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003948/0.4484, allocations: 4.323 MB / 0.7352 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4485, allocations: 4 kB / 0.7352 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4485, allocations: 3.984 kB / 0.7352 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.4485, allocations: 0 / 0.7352 GB, free: 12.68 MB / 0.5762 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.004412/0.4529, allocations: 3.164 MB / 0.7383 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.4529, allocations: 8.031 kB / 0.7383 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/0.4532, allocations: 228 kB / 0.7385 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003827/0.457, allocations: 0.8358 MB / 0.7393 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003425/0.4604, allocations: 2.26 MB / 0.7415 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008168/0.4613, allocations: 294.9 kB / 0.7418 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.4615, allocations: 160 kB / 0.7419 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.4649, allocations: 1.941 MB / 0.7438 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.465, allocations: 3.938 kB / 0.7438 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.4651, allocations: 63.94 kB / 0.7439 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.4651, allocations: 40 kB / 0.7439 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004051/0.4692, allocations: 1.811 MB / 0.7457 GB, free: 1.645 MB / 0.5762 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.1961/0.6653, allocations: 9.004 MB / 0.7545 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/0.6692, allocations: 1.181 MB / 0.7556 GB, free: 163 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.6703, allocations: 461.9 kB / 0.7561 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006717/0.6709, allocations: 1.723 MB / 0.7578 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.671, allocations: 40.66 kB / 0.7578 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.444e-06/0.671, allocations: 0 / 0.7578 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007617/0.6786, allocations: 2.327 MB / 0.7601 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.6786, allocations: 89.09 kB / 0.7602 GB, free: 160 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003308/0.682, allocations: 2.491 MB / 0.7626 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.6821, allocations: 44.64 kB / 0.7626 GB, free: 159 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006567/0.6827, allocations: 1.043 MB / 0.7637 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.6829, allocations: 274.1 kB / 0.7639 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003791/0.6833, allocations: 252.6 kB / 0.7642 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.6834, allocations: 348.1 kB / 0.7645 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.685, allocations: 0.5826 MB / 0.7651 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.6868, allocations: 0.9699 MB / 0.766 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/0.6893, allocations: 1.255 MB / 0.7672 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.6893, allocations: 10.41 kB / 0.7672 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00563/0.695, allocations: 2.048 MB / 0.7692 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.695, allocations: 16.92 kB / 0.7693 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.695, allocations: 7.75 kB / 0.7693 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.6964, allocations: 419.3 kB / 0.7697 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.6976, allocations: 292.4 kB / 0.77 GB, free: 155.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.6993, allocations: 1.498 MB / 0.7714 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/0.7018, allocations: 435.1 kB / 0.7718 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.7019, allocations: 63.58 kB / 0.7719 GB, free: 154.2 MB / 0.5762 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.0005993/0.7025, allocations: 459.5 kB / 0.7723 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/0.7028, allocations: 251.8 kB / 0.7726 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.706, allocations: 1.492 MB / 0.774 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/0.706, allocations: 10.84 kB / 0.774 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.706, allocations: 0.5625 kB / 0.774 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.706, allocations: 6.781 kB / 0.774 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006294/0.7123, allocations: 3.583 MB / 0.7775 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.7123, allocations: 6.781 kB / 0.7775 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.7129, allocations: 136.6 kB / 0.7777 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.7142, allocations: 412.9 kB / 0.7781 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/0.7142, allocations: 27.45 kB / 0.7781 GB, free: 151.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.7162, allocations: 1.573 MB / 0.7796 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.7163, allocations: 7.781 kB / 0.7796 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00488/0.7212, allocations: 1.936 MB / 0.7815 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.7217, allocations: 484.7 kB / 0.782 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.722, allocations: 23.31 kB / 0.782 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.7236, allocations: 167.5 kB / 0.7822 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.7237, allocations: 56.38 kB / 0.7822 GB, free: 149 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/0.7237, allocations: 46.89 kB / 0.7823 GB, free: 149 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002244/0.726, allocations: 1.744 MB / 0.784 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.726, allocations: 0 / 0.784 GB, free: 148.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00149/0.7275, allocations: 0.6852 MB / 0.7846 GB, free: 148.2 MB / 0.5762 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.005845/0.7333, allocations: 2.98 MB / 0.7876 GB, free: 146.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003459/0.7368, allocations: 1.403 MB / 0.7889 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7368, allocations: 0 / 0.7889 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.7387, allocations: 0.6703 MB / 0.7896 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004484/0.7432, allocations: 1.34 MB / 0.7909 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/0.7757, allocations: 19.76 MB / 0.8102 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.7763, allocations: 1.494 MB / 0.8116 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001525/0.7778, allocations: 433.3 kB / 0.8121 GB, free: 124.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007925/0.7786, allocations: 0.9014 MB / 0.8129 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.7786, allocations: 0 / 0.8129 GB, free: 123.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.394/2.172, allocations: 67.26 MB / 0.8786 GB, free: 57.33 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/2.172, allocations: 271.3 kB / 0.8789 GB, free: 56.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.012/6.184, allocations: 3.875 kB / 0.8789 GB, free: 56.97 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)