Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_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.001036/0.001036, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7347/0.7347, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.34 kB / 0.5019 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3189, allocations: 80.2 MB / 0.5802 GB, free: 4.844 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1237/0.4427, allocations: 132.2 MB / 0.7093 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03058/0.4733, allocations: 23.2 MB / 0.7319 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003788/0.4771, allocations: 123.2 kB / 0.7321 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003833/0.481, allocations: 1.498 MB / 0.7335 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009884/0.4909, allocations: 4.088 MB / 0.7375 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.4958, allocations: 2.144 MB / 0.7396 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007581/0.5034, allocations: 6.52 MB / 0.746 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/0.5067, allocations: 2.37 MB / 0.7483 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005606/0.5123, allocations: 2.745 MB / 0.751 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.5153, allocations: 1.882 MB / 0.7528 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005737/0.5159, allocations: 252 kB / 0.7531 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.5199, allocations: 1.934 MB / 0.7549 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005465/0.5205, allocations: 0.5953 MB / 0.7555 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.5219, allocations: 1.458 MB / 0.7569 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004584/0.5265, allocations: 4.335 MB / 0.7612 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5265, allocations: 3.938 kB / 0.7612 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5266, allocations: 4 kB / 0.7612 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.5266, allocations: 0 / 0.7612 GB, free: 7.812 MB / 0.5919 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.004756/0.5313, allocations: 3.191 MB / 0.7643 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.5314, allocations: 8.031 kB / 0.7643 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002276/0.5316, allocations: 224 kB / 0.7645 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00421/0.5358, allocations: 0.8395 MB / 0.7653 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.5393, allocations: 2.202 MB / 0.7675 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009832/0.5403, allocations: 294.8 kB / 0.7678 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.5405, allocations: 160 kB / 0.7679 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/0.5442, allocations: 1.934 MB / 0.7698 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.5443, allocations: 7.938 kB / 0.7698 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.5444, allocations: 63.94 kB / 0.7699 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.5445, allocations: 36 kB / 0.7699 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004637/0.5491, allocations: 1.827 MB / 0.7717 GB, free: 12.8 MB / 0.6075 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.01124/0.5603, allocations: 9.086 MB / 0.7806 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00426/0.5646, allocations: 1.196 MB / 0.7817 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.5657, allocations: 461.7 kB / 0.7822 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.5669, allocations: 1.718 MB / 0.7839 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.5669, allocations: 54.48 kB / 0.7839 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.5669, allocations: 0 / 0.7839 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008567/0.5755, allocations: 2.334 MB / 0.7862 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.803e-05/0.5756, allocations: 89.11 kB / 0.7863 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003715/0.5793, allocations: 2.54 MB / 0.7888 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-05/0.5794, allocations: 41.7 kB / 0.7888 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008394/0.5802, allocations: 1.045 MB / 0.7898 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.5805, allocations: 272.2 kB / 0.7901 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.5809, allocations: 258.5 kB / 0.7903 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.581, allocations: 357.9 kB / 0.7907 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/0.5828, allocations: 0.5842 MB / 0.7912 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002094/0.5849, allocations: 0.966 MB / 0.7922 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/0.588, allocations: 1.265 MB / 0.7934 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.588, allocations: 8 kB / 0.7934 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006346/0.5943, allocations: 2.043 MB / 0.7954 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5944, allocations: 10.5 kB / 0.7954 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5944, allocations: 15.94 kB / 0.7954 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.5961, allocations: 0.4932 MB / 0.7959 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.5973, allocations: 283.5 kB / 0.7962 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.5994, allocations: 1.514 MB / 0.7977 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.6019, allocations: 389.9 kB / 0.798 GB, free: 348 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.6021, allocations: 63.97 kB / 0.7981 GB, free: 284 kB / 0.6231 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.0006857/0.6028, allocations: 461.5 kB / 0.7986 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/0.6031, allocations: 248.9 kB / 0.7988 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.6067, allocations: 1.499 MB / 0.8003 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.6067, allocations: 8 kB / 0.8003 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6067, allocations: 0 / 0.8003 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.6067, allocations: 7.984 kB / 0.8003 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006997/0.6137, allocations: 3.616 MB / 0.8038 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.6137, allocations: 4 kB / 0.8038 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.6143, allocations: 132.2 kB / 0.8039 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/0.6159, allocations: 493.1 kB / 0.8044 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/0.616, allocations: 23.98 kB / 0.8044 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002538/0.6185, allocations: 1.59 MB / 0.806 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6185, allocations: 3.938 kB / 0.806 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005899/0.6244, allocations: 1.935 MB / 0.8079 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009576/0.6254, allocations: 485.6 kB / 0.8083 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/0.6257, allocations: 20 kB / 0.8083 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.6274, allocations: 147.8 kB / 0.8085 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.6275, allocations: 63.8 kB / 0.8086 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.782e-05/0.6276, allocations: 39.91 kB / 0.8086 GB, free: 5.281 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00282/0.6304, allocations: 1.793 MB / 0.8103 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6304, allocations: 0 / 0.8103 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001681/0.6321, allocations: 0.6905 MB / 0.811 GB, free: 2.793 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 (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.2103/0.8424, allocations: 3.001 MB / 0.8139 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00456/0.847, allocations: 1.392 MB / 0.8153 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.8471, allocations: 1.375 kB / 0.8153 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002347/0.8494, allocations: 0.6716 MB / 0.816 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005804/0.8552, allocations: 1.331 MB / 0.8173 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03234/0.8876, allocations: 19.25 MB / 0.8361 GB, free: 204.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/0.8885, allocations: 1.49 MB / 0.8375 GB, free: 203.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002102/0.8906, allocations: 436.2 kB / 0.8379 GB, free: 203.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009383/0.8915, allocations: 0.9036 MB / 0.8388 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of SimCode: time 7.71e-07/0.8915, allocations: 0 / 0.8388 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08895/0.9805, allocations: 68.48 MB / 0.9057 GB, free: 140.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.83, allocations: 8.203 kB / 0.9057 GB, free: 140.9 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)