Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001073/0.001073, allocations: 106.1 kB / 15.99 MB, free: 6.328 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.001003/0.001003, allocations: 195.7 kB / 16.91 MB, free: 6.176 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.235/1.235, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6309/0.6309, allocations: 115.3 MB / 406.1 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 68.05 kB / 493.2 MB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2787, allocations: 76.17 MB / 0.556 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.0996/0.3784, allocations: 131 MB / 0.684 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02594/0.4043, allocations: 23.07 MB / 0.7065 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.4078, allocations: 115.2 kB / 0.7066 GB, free: 10.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.4112, allocations: 1.279 MB / 0.7079 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009718/0.4209, allocations: 3.814 MB / 0.7116 GB, free: 4.902 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.4254, allocations: 1.979 MB / 0.7135 GB, free: 2.945 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006993/0.4324, allocations: 6.604 MB / 0.72 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/0.4355, allocations: 2.345 MB / 0.7223 GB, free: 9.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005211/0.4407, allocations: 2.765 MB / 0.725 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002553/0.4433, allocations: 1.941 MB / 0.7268 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004637/0.4437, allocations: 248 kB / 0.7271 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.4473, allocations: 1.965 MB / 0.729 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006131/0.4479, allocations: 0.5954 MB / 0.7296 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.4497, allocations: 1.473 MB / 0.731 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004922/0.4546, allocations: 4.327 MB / 0.7353 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4546, allocations: 3.938 kB / 0.7353 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4546, allocations: 3.938 kB / 0.7353 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.64e-05/0.4547, allocations: 0 / 0.7353 GB, free: 12.57 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.005201/0.4599, allocations: 3.18 MB / 0.7384 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4599, allocations: 8.031 kB / 0.7384 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002488/0.4602, allocations: 220 kB / 0.7386 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/0.4642, allocations: 0.84 MB / 0.7394 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/0.4678, allocations: 2.264 MB / 0.7416 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008701/0.4687, allocations: 294.8 kB / 0.7419 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.4689, allocations: 160 kB / 0.742 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/0.4725, allocations: 1.942 MB / 0.7439 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.4725, allocations: 0 / 0.7439 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.4727, allocations: 64 kB / 0.744 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.4727, allocations: 39.94 kB / 0.744 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/0.4771, allocations: 1.831 MB / 0.7458 GB, free: 1.5 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.1974/0.6744, allocations: 9.017 MB / 0.7546 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/0.6784, allocations: 1.191 MB / 0.7558 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009963/0.6794, allocations: 462.5 kB / 0.7562 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006472/0.6801, allocations: 1.723 MB / 0.7579 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.6801, allocations: 42.55 kB / 0.758 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/0.6801, allocations: 0 / 0.758 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007711/0.6878, allocations: 2.334 MB / 0.7602 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.6879, allocations: 91.06 kB / 0.7603 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/0.6916, allocations: 2.512 MB / 0.7628 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.6917, allocations: 45.3 kB / 0.7628 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006433/0.6924, allocations: 1.049 MB / 0.7639 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.6926, allocations: 272.9 kB / 0.7641 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003999/0.693, allocations: 255.9 kB / 0.7644 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.985e-05/0.6931, allocations: 345.2 kB / 0.7647 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.6946, allocations: 0.5858 MB / 0.7653 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.6964, allocations: 0.9703 MB / 0.7662 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/0.699, allocations: 1.266 MB / 0.7674 GB, free: 157 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.699, allocations: 9.562 kB / 0.7674 GB, free: 157 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005802/0.7048, allocations: 2.054 MB / 0.7695 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7049, allocations: 8.25 kB / 0.7695 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.7049, allocations: 8.25 kB / 0.7695 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.7065, allocations: 499.1 kB / 0.7699 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.7076, allocations: 289.9 kB / 0.7702 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.7093, allocations: 1.514 MB / 0.7717 GB, free: 155.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/0.7119, allocations: 437 kB / 0.7721 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.712, allocations: 66.97 kB / 0.7722 GB, free: 155 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006276/0.7127, allocations: 455.8 kB / 0.7726 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/0.7131, allocations: 247.6 kB / 0.7729 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003127/0.7162, allocations: 1.506 MB / 0.7743 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.7162, allocations: 9.828 kB / 0.7743 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.7162, allocations: 2.312 kB / 0.7743 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.7163, allocations: 4.734 kB / 0.7743 GB, free: 154 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006529/0.7228, allocations: 3.603 MB / 0.7779 GB, free: 152.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.7228, allocations: 7.406 kB / 0.7779 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.7234, allocations: 132.4 kB / 0.778 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00138/0.7247, allocations: 495.5 kB / 0.7785 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.048e-05/0.7248, allocations: 29.47 kB / 0.7785 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.7268, allocations: 1.58 MB / 0.78 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.7268, allocations: 8.828 kB / 0.78 GB, free: 151 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/0.7317, allocations: 1.937 MB / 0.7819 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/0.7324, allocations: 485.8 kB / 0.7824 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/0.7327, allocations: 27.59 kB / 0.7824 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/0.7344, allocations: 171.8 kB / 0.7826 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.7345, allocations: 62.08 kB / 0.7826 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/0.7345, allocations: 41.62 kB / 0.7827 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002411/0.737, allocations: 1.775 MB / 0.7844 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.737, allocations: 0 / 0.7844 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001556/0.7385, allocations: 0.6848 MB / 0.7851 GB, free: 148.6 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00618/0.7447, allocations: 2.981 MB / 0.788 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003459/0.7482, allocations: 1.392 MB / 0.7894 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7482, allocations: 0 / 0.7894 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.7502, allocations: 0.6947 MB / 0.79 GB, free: 145.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004828/0.755, allocations: 1.334 MB / 0.7913 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/0.788, allocations: 19.8 MB / 0.8107 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/0.7886, allocations: 1.49 MB / 0.8121 GB, free: 124.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001532/0.7901, allocations: 434.3 kB / 0.8125 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008207/0.791, allocations: 0.9054 MB / 0.8134 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.791, allocations: 0 / 0.8134 GB, free: 123.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.133/1.924, allocations: 67.65 MB / 0.8795 GB, free: 56.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/1.925, allocations: 288.9 kB / 0.8798 GB, free: 56.01 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.003/5.927, allocations: 0 / 0.8798 GB, free: 56.01 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)