Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.00103/0.00103, allocations: 108 kB / 15.6 MB, free: 132 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.001025/0.001025, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7406/0.7406, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 57.75 kB / 0.5019 GB, free: 8.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1279, allocations: 80.22 MB / 0.5802 GB, free: 8.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2697/0.3975, allocations: 70.44 MB / 0.649 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.4146, allocations: 18.9 MB / 0.6674 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.4165, allocations: 67.94 kB / 0.6675 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.4181, allocations: 0.8267 MB / 0.6683 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005594/0.4237, allocations: 2.843 MB / 0.6711 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003493/0.4272, allocations: 1.639 MB / 0.6727 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004402/0.4316, allocations: 4.044 MB / 0.6766 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.4334, allocations: 1.452 MB / 0.6781 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.4367, allocations: 1.775 MB / 0.6798 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.4382, allocations: 1.176 MB / 0.6809 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002174/0.4384, allocations: 176.3 kB / 0.6811 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.4411, allocations: 1.412 MB / 0.6825 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.4415, allocations: 387.8 kB / 0.6829 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008489/0.4423, allocations: 0.9201 MB / 0.6837 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.4461, allocations: 3.083 MB / 0.6868 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4461, allocations: 0 / 0.6868 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4461, allocations: 0 / 0.6868 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.956e-05/0.4461, allocations: 0 / 0.6868 GB, free: 7.457 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003388/0.4495, allocations: 2.042 MB / 0.6888 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.4496, allocations: 9.312 kB / 0.6888 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/0.4498, allocations: 153.5 kB / 0.6889 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/0.4521, allocations: 448 kB / 0.6893 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.4545, allocations: 1.478 MB / 0.6908 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/0.4549, allocations: 137.3 kB / 0.6909 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.455, allocations: 106.9 kB / 0.691 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.4574, allocations: 1.314 MB / 0.6923 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.4575, allocations: 5.094 kB / 0.6923 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.4576, allocations: 47.69 kB / 0.6923 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.4576, allocations: 29.41 kB / 0.6924 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002694/0.4603, allocations: 1.113 MB / 0.6935 GB, free: 3.707 MB / 0.5137 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.008123/0.4684, allocations: 7.54 MB / 0.7008 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003181/0.4716, allocations: 0.8078 MB / 0.7016 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/0.4723, allocations: 285.5 kB / 0.7019 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/0.4737, allocations: 1.72 MB / 0.7036 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.4738, allocations: 41.62 kB / 0.7036 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.946e-06/0.4738, allocations: 0 / 0.7036 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004883/0.4787, allocations: 1.333 MB / 0.7049 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.4787, allocations: 61.12 kB / 0.705 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.4811, allocations: 1.551 MB / 0.7065 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.4811, allocations: 38.05 kB / 0.7065 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/0.4817, allocations: 0.6729 MB / 0.7072 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.4819, allocations: 175.4 kB / 0.7073 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.4822, allocations: 173.4 kB / 0.7075 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4823, allocations: 336.2 kB / 0.7078 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009981/0.4833, allocations: 366.2 kB / 0.7082 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.4845, allocations: 0.6762 MB / 0.7088 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001845/0.4864, allocations: 0.8851 MB / 0.7097 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.4864, allocations: 2 kB / 0.7097 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002903/0.4893, allocations: 1.202 MB / 0.7109 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.4894, allocations: 8.719 kB / 0.7109 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4894, allocations: 7.5 kB / 0.7109 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008285/0.4902, allocations: 222.5 kB / 0.7111 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007711/0.491, allocations: 195.7 kB / 0.7113 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008494/0.4919, allocations: 0.7154 MB / 0.712 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.4934, allocations: 219.9 kB / 0.7122 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.4935, allocations: 47.98 kB / 0.7122 GB, free: 6.031 MB / 0.5294 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004663/0.494, allocations: 359.3 kB / 0.7126 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/0.4943, allocations: 152.8 kB / 0.7127 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.4966, allocations: 1.143 MB / 0.7139 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.4966, allocations: 10.98 kB / 0.7139 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4966, allocations: 0 / 0.7139 GB, free: 5.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4966, allocations: 7.984 kB / 0.7139 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/0.5016, allocations: 2.508 MB / 0.7163 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.5016, allocations: 9.484 kB / 0.7163 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.502, allocations: 86.52 kB / 0.7164 GB, free: 3.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006967/0.5027, allocations: 213.8 kB / 0.7166 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.5027, allocations: 18.3 kB / 0.7166 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.504, allocations: 0.769 MB / 0.7174 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.504, allocations: 1.469 kB / 0.7174 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003321/0.5073, allocations: 1.205 MB / 0.7186 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/0.5078, allocations: 349.9 kB / 0.7189 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.5081, allocations: 17.5 kB / 0.7189 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/0.509, allocations: 74.69 kB / 0.719 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.5091, allocations: 44.53 kB / 0.719 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/0.5092, allocations: 24.58 kB / 0.719 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001656/0.5108, allocations: 1.09 MB / 0.7201 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5108, allocations: 0 / 0.7201 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001278/0.5121, allocations: 444.6 kB / 0.7205 GB, free: 0.6484 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004417/0.5165, allocations: 2.126 MB / 0.7226 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.5189, allocations: 0.8832 MB / 0.7235 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5189, allocations: 0 / 0.7235 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.5202, allocations: 451.5 kB / 0.7239 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/0.5233, allocations: 0.7501 MB / 0.7246 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/0.5412, allocations: 11.39 MB / 0.7358 GB, free: 1.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007259/0.542, allocations: 1.172 MB / 0.7369 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001113/0.5431, allocations: 264.6 kB / 0.7372 GB, free: 4 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/0.5439, allocations: 0.554 MB / 0.7377 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.5439, allocations: 0 / 0.7377 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07327/0.6172, allocations: 43.39 MB / 0.7801 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.67, allocations: 6.359 kB / 0.7801 GB, free: 4.602 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)