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.01104/0.01105, allocations: 101 kB / 15.73 MB, free: 6.055 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.002838/0.002839, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.775/2.775, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.579/1.579, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003487/0.003487, allocations: 70.83 kB / 0.5809 GB, free: 24.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3836, allocations: 80.22 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 1.095/1.479, allocations: 132.2 MB / 0.7883 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.05389/1.533, allocations: 23.2 MB / 0.8109 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01025/1.543, allocations: 125.8 kB / 0.8111 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01411/1.557, allocations: 1.493 MB / 0.8125 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.03738/1.595, allocations: 4.097 MB / 0.8165 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0116/1.606, allocations: 2.165 MB / 0.8186 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.02104/1.628, allocations: 6.536 MB / 0.825 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008615/1.636, allocations: 2.366 MB / 0.8273 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02614/1.662, allocations: 2.755 MB / 0.83 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/1.674, allocations: 1.899 MB / 0.8319 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00169/1.675, allocations: 245.8 kB / 0.8321 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/1.688, allocations: 1.939 MB / 0.834 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002109/1.69, allocations: 0.597 MB / 0.8346 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00602/1.696, allocations: 1.462 MB / 0.836 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01993/1.716, allocations: 4.407 MB / 0.8403 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/1.716, allocations: 0 / 0.8403 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.097e-06/1.716, allocations: 0 / 0.8403 GB, free: 2.402 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004608/1.717, allocations: 0 / 0.8403 GB, free: 2.402 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.0509/1.768, allocations: 3.287 MB / 0.8435 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 0.0006612/1.768, allocations: 16.03 kB / 0.8435 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01338/1.782, allocations: 219.8 kB / 0.8437 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03638/1.818, allocations: 0.8489 MB / 0.8446 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/1.834, allocations: 2.341 MB / 0.8469 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/1.834, allocations: 123 kB / 0.847 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006821/1.835, allocations: 160 kB / 0.8471 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007852/1.843, allocations: 1.926 MB / 0.849 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.284e-05/1.843, allocations: 3.938 kB / 0.849 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002779/1.843, allocations: 64 kB / 0.8491 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004837/1.848, allocations: 36 kB / 0.8491 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/1.861, allocations: 1.796 MB / 0.8509 GB, free: 7.355 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.06077/1.922, allocations: 9.01 MB / 0.8597 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/1.934, allocations: 1.191 MB / 0.8608 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/1.936, allocations: 470.1 kB / 0.8613 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002248/1.938, allocations: 1.726 MB / 0.863 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.787e-05/1.938, allocations: 42.56 kB / 0.863 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 5.3e-06/1.938, allocations: 0 / 0.863 GB, free: 9.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.06903/2.007, allocations: 2.367 MB / 0.8653 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/2.008, allocations: 85.11 kB / 0.8654 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05135/2.059, allocations: 2.52 MB / 0.8678 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003686/2.06, allocations: 49.7 kB / 0.8679 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001985/2.062, allocations: 1.058 MB / 0.8689 GB, free: 3.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006444/2.062, allocations: 273.6 kB / 0.8692 GB, free: 3.461 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008474/2.063, allocations: 262.7 kB / 0.8694 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003161/2.063, allocations: 345.9 kB / 0.8698 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01771/2.081, allocations: 0.5764 MB / 0.8703 GB, free: 2.277 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02526/2.106, allocations: 0.9465 MB / 0.8713 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/2.116, allocations: 1.248 MB / 0.8725 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.382e-05/2.117, allocations: 4 kB / 0.8725 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.01924/2.136, allocations: 2.037 MB / 0.8745 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/2.136, allocations: 12.09 kB / 0.8745 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/2.136, allocations: 8 kB / 0.8745 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00756/2.144, allocations: 491.1 kB / 0.875 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/2.146, allocations: 287.5 kB / 0.8752 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/2.151, allocations: 1.511 MB / 0.8767 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00942/2.16, allocations: 378.5 kB / 0.8771 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004947/2.161, allocations: 59.97 kB / 0.8771 GB, free: 10.99 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 (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.002068/2.163, allocations: 460.3 kB / 0.8776 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/2.164, allocations: 262.3 kB / 0.8778 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/2.176, allocations: 1.493 MB / 0.8793 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/2.176, allocations: 23.98 kB / 0.8793 GB, free: 8.766 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/2.176, allocations: 3.938 kB / 0.8793 GB, free: 8.762 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/2.176, allocations: 3.984 kB / 0.8793 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01981/2.196, allocations: 3.629 MB / 0.8828 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/2.196, allocations: 4 kB / 0.8829 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/2.197, allocations: 127.8 kB / 0.883 GB, free: 4.887 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/2.2, allocations: 493.2 kB / 0.8834 GB, free: 4.398 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/2.2, allocations: 31.97 kB / 0.8835 GB, free: 4.367 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/2.213, allocations: 1.575 MB / 0.885 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/2.213, allocations: 7.938 kB / 0.885 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/2.227, allocations: 1.96 MB / 0.8869 GB, free: 0.7148 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002358/2.23, allocations: 0.495 MB / 0.8874 GB, free: 204 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008171/2.23, allocations: 20 kB / 0.8874 GB, free: 184 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/2.233, allocations: 139.8 kB / 0.8876 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/2.234, allocations: 55.86 kB / 0.8876 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/2.234, allocations: 43.91 kB / 0.8877 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00564/2.24, allocations: 1.773 MB / 0.8894 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.41e-07/2.24, allocations: 3.938 kB / 0.8894 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004292/2.244, allocations: 0.698 MB / 0.8901 GB, free: 13.46 MB / 0.6544 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.03026/2.274, allocations: 3.006 MB / 0.893 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.006727/2.281, allocations: 1.35 MB / 0.8943 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/2.281, allocations: 0 / 0.8943 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003683/2.285, allocations: 0.6792 MB / 0.895 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03088/2.316, allocations: 1.315 MB / 0.8963 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1181/2.434, allocations: 16.75 MB / 0.9126 GB, free: 5.871 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001865/2.436, allocations: 1.486 MB / 0.9141 GB, free: 4.348 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003134/2.439, allocations: 432.5 kB / 0.9145 GB, free: 3.922 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/2.441, allocations: 0.9093 MB / 0.9154 GB, free: 3.012 MB / 0.67 GB Notification: Performance of SimCode: time 1.473e-06/2.441, allocations: 0 / 0.9154 GB, free: 3.012 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3672/2.808, allocations: 66.17 MB / 0.98 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.15/31.96, allocations: 12 kB / 0.98 GB, free: 1.402 MB / 0.7325 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)