Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_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.009607/0.009607, allocations: 101.9 kB / 15.73 MB, free: 5.988 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.001898/0.001898, allocations: 186.2 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.136/2.136, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.099/1.099, allocations: 132.2 MB / 422.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 63.47 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2893, allocations: 80.21 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.2377/0.5271, allocations: 132.2 MB / 0.7883 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.05759/0.5847, allocations: 23.2 MB / 0.8109 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008434/0.5932, allocations: 123.2 kB / 0.811 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.008049/0.6013, allocations: 1.483 MB / 0.8125 GB, free: 496 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.6333/1.235, allocations: 4.09 MB / 0.8165 GB, free: 42.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007055/1.242, allocations: 2.162 MB / 0.8186 GB, free: 42.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01469/1.256, allocations: 6.541 MB / 0.825 GB, free: 42.22 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005602/1.262, allocations: 2.36 MB / 0.8273 GB, free: 41.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01032/1.273, allocations: 2.763 MB / 0.83 GB, free: 41.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005896/1.278, allocations: 1.884 MB / 0.8318 GB, free: 41.6 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001188/1.28, allocations: 247.1 kB / 0.8321 GB, free: 41.6 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008181/1.288, allocations: 1.937 MB / 0.8339 GB, free: 41.6 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001438/1.289, allocations: 0.6064 MB / 0.8345 GB, free: 41.5 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.004108/1.293, allocations: 1.461 MB / 0.836 GB, free: 41.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01568/1.309, allocations: 4.397 MB / 0.8403 GB, free: 40.51 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/1.309, allocations: 1.406 kB / 0.8403 GB, free: 40.51 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.815e-06/1.309, allocations: 0 / 0.8403 GB, free: 40.51 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.000141/1.309, allocations: 1.406 kB / 0.8403 GB, free: 40.51 MB / 0.6387 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.01271/1.322, allocations: 3.272 MB / 0.8435 GB, free: 38.91 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 7.44e-05/1.322, allocations: 9.281 kB / 0.8435 GB, free: 38.91 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004866/1.323, allocations: 220.5 kB / 0.8437 GB, free: 38.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007666/1.33, allocations: 0.8561 MB / 0.8445 GB, free: 38.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008913/1.339, allocations: 2.352 MB / 0.8468 GB, free: 38.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/1.34, allocations: 126.8 kB / 0.8469 GB, free: 38.07 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000558/1.34, allocations: 163.1 kB / 0.8471 GB, free: 38.07 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007037/1.347, allocations: 1.921 MB / 0.849 GB, free: 37.85 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.496e-05/1.347, allocations: 3.281 kB / 0.849 GB, free: 37.85 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000258/1.348, allocations: 65.91 kB / 0.849 GB, free: 37.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.193e-05/1.348, allocations: 41.02 kB / 0.8491 GB, free: 37.84 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007842/1.356, allocations: 1.784 MB / 0.8508 GB, free: 37.8 MB / 0.6387 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.01729/1.373, allocations: 8.992 MB / 0.8596 GB, free: 33.44 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/1.377, allocations: 1.191 MB / 0.8608 GB, free: 33.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/1.379, allocations: 460.9 kB / 0.8612 GB, free: 33.34 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009414/1.38, allocations: 1.728 MB / 0.8629 GB, free: 31.36 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/1.38, allocations: 49.47 kB / 0.8629 GB, free: 31.32 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.657e-06/1.38, allocations: 0 / 0.8629 GB, free: 31.32 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.009033/1.389, allocations: 2.341 MB / 0.8652 GB, free: 30.85 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.389, allocations: 90.14 kB / 0.8653 GB, free: 30.75 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004382/1.393, allocations: 2.493 MB / 0.8677 GB, free: 30.14 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002284/1.393, allocations: 51.28 kB / 0.8678 GB, free: 30.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008707/1.394, allocations: 1.052 MB / 0.8688 GB, free: 29.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/1.395, allocations: 283.2 kB / 0.8691 GB, free: 29.53 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005073/1.395, allocations: 255.1 kB / 0.8693 GB, free: 29.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.395, allocations: 353 kB / 0.8697 GB, free: 29.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/1.397, allocations: 0.5629 MB / 0.8702 GB, free: 29.03 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/1.399, allocations: 0.9587 MB / 0.8711 GB, free: 28.48 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002855/1.402, allocations: 1.251 MB / 0.8724 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/1.402, allocations: 2.594 kB / 0.8724 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006672/1.408, allocations: 2.028 MB / 0.8744 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/1.408, allocations: 11.97 kB / 0.8744 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.409, allocations: 7.406 kB / 0.8744 GB, free: 27.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/1.41, allocations: 424.9 kB / 0.8748 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.411, allocations: 283.1 kB / 0.875 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/1.413, allocations: 1.499 MB / 0.8765 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00323/1.417, allocations: 374.2 kB / 0.8769 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/1.417, allocations: 63.03 kB / 0.8769 GB, free: 25.39 MB / 0.6387 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.001115/1.418, allocations: 458.4 kB / 0.8774 GB, free: 25.08 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006591/1.419, allocations: 265.6 kB / 0.8776 GB, free: 24.94 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003529/1.422, allocations: 1.487 MB / 0.8791 GB, free: 23.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/1.422, allocations: 8 kB / 0.8791 GB, free: 23.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.422, allocations: 4 kB / 0.8791 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.422, allocations: 3.984 kB / 0.8791 GB, free: 23.56 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007288/1.43, allocations: 3.611 MB / 0.8826 GB, free: 19.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/1.43, allocations: 4 kB / 0.8826 GB, free: 19.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005919/1.43, allocations: 122.7 kB / 0.8827 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/1.432, allocations: 420.6 kB / 0.8831 GB, free: 19.35 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/1.432, allocations: 31.86 kB / 0.8832 GB, free: 19.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/1.434, allocations: 1.574 MB / 0.8847 GB, free: 17.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.434, allocations: 7.938 kB / 0.8847 GB, free: 17.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007958/1.442, allocations: 1.943 MB / 0.8866 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00226/1.445, allocations: 499 kB / 0.8871 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009511/1.446, allocations: 19.94 kB / 0.8871 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003002/1.449, allocations: 147.8 kB / 0.8872 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/1.449, allocations: 54.97 kB / 0.8873 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001631/1.449, allocations: 47.95 kB / 0.8873 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004337/1.453, allocations: 1.753 MB / 0.889 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.5e-07/1.453, allocations: 0 / 0.889 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004225/1.458, allocations: 0.6863 MB / 0.8897 GB, free: 12.52 MB / 0.6387 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.01006/1.468, allocations: 3.015 MB / 0.8927 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005591/1.473, allocations: 1.344 MB / 0.894 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.473, allocations: 7.938 kB / 0.894 GB, free: 8.223 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003068/1.476, allocations: 0.6693 MB / 0.8946 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00905/1.486, allocations: 1.327 MB / 0.8959 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05375/1.539, allocations: 16.6 MB / 0.9121 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/1.541, allocations: 1.49 MB / 0.9136 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00317/1.544, allocations: 435.5 kB / 0.914 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/1.546, allocations: 0.9038 MB / 0.9149 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of SimCode: time 1.423e-06/1.546, allocations: 0 / 0.9149 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4453/1.992, allocations: 65.9 MB / 0.9793 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.12/30.11, allocations: 7.984 kB / 0.9793 GB, free: 1.711 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)