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.00104/0.00104, allocations: 100.9 kB / 16.27 MB, free: 5.93 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.001138/0.001138, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.281/1.281, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7118/0.7118, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3084, allocations: 77.93 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1126/0.421, allocations: 132.2 MB / 0.6964 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03256/0.4536, allocations: 23.22 MB / 0.7191 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004478/0.4581, allocations: 127.2 kB / 0.7192 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004286/0.4625, allocations: 1.49 MB / 0.7206 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.4735, allocations: 4.1 MB / 0.7246 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005299/0.4788, allocations: 2.15 MB / 0.7267 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008198/0.487, allocations: 6.532 MB / 0.7331 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.4905, allocations: 2.361 MB / 0.7354 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005635/0.4961, allocations: 2.74 MB / 0.7381 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.4993, allocations: 1.878 MB / 0.7399 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006917/0.5, allocations: 252 kB / 0.7402 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.5045, allocations: 1.938 MB / 0.7421 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007506/0.5052, allocations: 0.6031 MB / 0.7427 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.5079, allocations: 1.454 MB / 0.7441 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006807/0.5147, allocations: 4.32 MB / 0.7483 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5148, allocations: 0 / 0.7483 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5148, allocations: 0 / 0.7483 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.832e-05/0.5149, allocations: 0 / 0.7483 GB, free: 0.8906 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.2281/0.743, allocations: 3.181 MB / 0.7514 GB, free: 167 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.743, allocations: 9.734 kB / 0.7514 GB, free: 167 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/0.7433, allocations: 222.3 kB / 0.7516 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004827/0.7481, allocations: 0.8381 MB / 0.7525 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/0.7523, allocations: 2.202 MB / 0.7546 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/0.7533, allocations: 291.4 kB / 0.7549 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.7536, allocations: 163.3 kB / 0.755 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004488/0.7581, allocations: 1.944 MB / 0.7569 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.7582, allocations: 1.094 kB / 0.7569 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.7583, allocations: 62.84 kB / 0.757 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/0.7583, allocations: 36.94 kB / 0.757 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004742/0.7631, allocations: 1.827 MB / 0.7588 GB, free: 163.9 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.0117/0.7748, allocations: 9.084 MB / 0.7677 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004122/0.7789, allocations: 1.194 MB / 0.7688 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/0.78, allocations: 456.6 kB / 0.7693 GB, free: 156.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007701/0.7808, allocations: 1.733 MB / 0.771 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.7808, allocations: 40.97 kB / 0.771 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 3.286e-06/0.7808, allocations: 0 / 0.771 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008366/0.7892, allocations: 2.337 MB / 0.7733 GB, free: 153 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.7892, allocations: 85.08 kB / 0.7734 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003736/0.793, allocations: 2.543 MB / 0.7759 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.7931, allocations: 44.11 kB / 0.7759 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006246/0.7937, allocations: 1.04 MB / 0.7769 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/0.794, allocations: 272.2 kB / 0.7772 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/0.7943, allocations: 252.3 kB / 0.7774 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.7944, allocations: 357.6 kB / 0.7778 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.7961, allocations: 0.5838 MB / 0.7783 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.798, allocations: 0.9749 MB / 0.7793 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002764/0.8008, allocations: 1.259 MB / 0.7805 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.8008, allocations: 1.75 kB / 0.7805 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006263/0.8071, allocations: 2.063 MB / 0.7825 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.8071, allocations: 7.844 kB / 0.7825 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8071, allocations: 7.938 kB / 0.7825 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.8087, allocations: 0.4885 MB / 0.783 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.8098, allocations: 289.1 kB / 0.7833 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.8115, allocations: 1.517 MB / 0.7848 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.8141, allocations: 392.7 kB / 0.7852 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.8143, allocations: 59.19 kB / 0.7852 GB, free: 145.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 (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.0006295/0.8149, allocations: 459.8 kB / 0.7856 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/0.8152, allocations: 254.3 kB / 0.7859 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00311/0.8183, allocations: 1.496 MB / 0.7874 GB, free: 144 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.8184, allocations: 11.88 kB / 0.7874 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8184, allocations: 3.969 kB / 0.7874 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.8184, allocations: 7.922 kB / 0.7874 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006148/0.8245, allocations: 3.613 MB / 0.7909 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.8246, allocations: 4 kB / 0.7909 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.8251, allocations: 136.1 kB / 0.791 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.8265, allocations: 493 kB / 0.7915 GB, free: 140.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.8266, allocations: 27.98 kB / 0.7915 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.8287, allocations: 1.583 MB / 0.7931 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8287, allocations: 4 kB / 0.7931 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005152/0.8338, allocations: 1.936 MB / 0.795 GB, free: 136.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008763/0.8347, allocations: 493.6 kB / 0.7954 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/0.8351, allocations: 19.94 kB / 0.7955 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.8367, allocations: 147.8 kB / 0.7956 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.998e-05/0.8368, allocations: 59.73 kB / 0.7957 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.8369, allocations: 47.91 kB / 0.7957 GB, free: 136 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002387/0.8393, allocations: 1.789 MB / 0.7975 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.2e-07/0.8393, allocations: 0 / 0.7975 GB, free: 134.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001783/0.8411, allocations: 0.6944 MB / 0.7981 GB, free: 133.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.006441/0.8476, allocations: 3.019 MB / 0.8011 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00393/0.8515, allocations: 1.386 MB / 0.8024 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/0.8515, allocations: 0 / 0.8024 GB, free: 129.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.8537, allocations: 0.686 MB / 0.8031 GB, free: 128.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006285/0.86, allocations: 1.331 MB / 0.8044 GB, free: 127.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/0.8881, allocations: 19.23 MB / 0.8232 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.8888, allocations: 1.49 MB / 0.8246 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001922/0.8907, allocations: 445.3 kB / 0.8251 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000876/0.8916, allocations: 0.9015 MB / 0.8259 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.8916, allocations: 0 / 0.8259 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08646/0.9781, allocations: 68.5 MB / 0.8928 GB, free: 35.96 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.9, allocations: 3.938 kB / 0.8928 GB, free: 35.95 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)