Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.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_y_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL",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.009291/0.009291, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.002273/0.002273, allocations: 195.5 kB / 16.68 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.492/2.492, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.401/1.401, allocations: 132.2 MB / 422.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003199/0.003199, allocations: 59.94 kB / 0.5809 GB, free: 1.098 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3224, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.1913/0.5138, allocations: 75.15 MB / 0.7326 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03149/0.5454, allocations: 12.72 MB / 0.745 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004277/0.5497, allocations: 63.62 kB / 0.7451 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004056/0.5538, allocations: 0.8346 MB / 0.7459 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.5658, allocations: 2.462 MB / 0.7483 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006341/0.5722, allocations: 1.396 MB / 0.7497 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01029/0.5825, allocations: 4.383 MB / 0.7539 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004308/0.5868, allocations: 1.437 MB / 0.7553 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00678/0.5936, allocations: 1.612 MB / 0.7569 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.5973, allocations: 1.204 MB / 0.7581 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007685/0.5981, allocations: 164 kB / 0.7583 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00584/0.604, allocations: 1.423 MB / 0.7596 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.6051, allocations: 398.6 kB / 0.76 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.608, allocations: 0.906 MB / 0.7609 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009085/0.6171, allocations: 2.9 MB / 0.7637 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.6171, allocations: 0 / 0.7637 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.665e-06/0.6172, allocations: 4 kB / 0.7637 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001157/0.6173, allocations: 4 kB / 0.7637 GB, free: 2.582 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.008736/0.626, allocations: 2.139 MB / 0.7658 GB, free: 384 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.936e-05/0.6261, allocations: 12.03 kB / 0.7658 GB, free: 372 kB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005053/0.6266, allocations: 148.1 kB / 0.766 GB, free: 216 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.6284, allocations: 243.5 kB / 0.7662 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.6337, allocations: 1.536 MB / 0.7677 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.6338, allocations: 74 kB / 0.7678 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003497/0.6342, allocations: 103.9 kB / 0.7679 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004068/0.6383, allocations: 1.096 MB / 0.769 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.6384, allocations: 0 / 0.769 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.6386, allocations: 43.94 kB / 0.769 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.82e-05/0.6386, allocations: 39.91 kB / 0.769 GB, free: 13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.6422, allocations: 0.8861 MB / 0.7699 GB, free: 12.11 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.01312/0.6554, allocations: 4.912 MB / 0.7747 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.6579, allocations: 0.6317 MB / 0.7753 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.6593, allocations: 351.1 kB / 0.7757 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.6604, allocations: 0.8238 MB / 0.7765 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.098e-05/0.6605, allocations: 43.12 kB / 0.7765 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 6.352e-06/0.6606, allocations: 0 / 0.7765 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.01247/0.673, allocations: 1.698 MB / 0.7782 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.789e-05/0.6732, allocations: 63.97 kB / 0.7782 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003821/0.677, allocations: 1.221 MB / 0.7794 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.6773, allocations: 41.7 kB / 0.7795 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.6783, allocations: 0.6035 MB / 0.78 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004711/0.6788, allocations: 237.9 kB / 0.7803 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005142/0.6793, allocations: 150.6 kB / 0.7804 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002293/0.6796, allocations: 337.9 kB / 0.7807 GB, free: 464 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.6809, allocations: 288.7 kB / 0.781 GB, free: 172 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.6825, allocations: 491.1 kB / 0.7815 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/0.6855, allocations: 0.7157 MB / 0.7822 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.6855, allocations: 0 / 0.7822 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008397/0.6939, allocations: 1.289 MB / 0.7834 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.694, allocations: 4 kB / 0.7834 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.6941, allocations: 4 kB / 0.7834 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.6953, allocations: 161.1 kB / 0.7836 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.6965, allocations: 155.8 kB / 0.7837 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.6981, allocations: 0.7201 MB / 0.7845 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.7001, allocations: 119.3 kB / 0.7846 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/0.7003, allocations: 36 kB / 0.7846 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002088/0.7024, allocations: 0.5573 MB / 0.7851 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001642/0.7041, allocations: 491 kB / 0.7856 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002605/0.7067, allocations: 0.7004 MB / 0.7863 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.184e-06/0.7067, allocations: 0 / 0.7863 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.008263/0.715, allocations: 1.277 MB / 0.7875 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.7151, allocations: 11.94 kB / 0.7876 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.7151, allocations: 4 kB / 0.7876 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.7162, allocations: 161.1 kB / 0.7877 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.7174, allocations: 155.7 kB / 0.7879 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.7189, allocations: 0.7124 MB / 0.7886 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.7209, allocations: 95.61 kB / 0.7886 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.7211, allocations: 31.98 kB / 0.7887 GB, free: 7.992 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000458/0.7215, allocations: 237.3 kB / 0.7889 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007122/0.7223, allocations: 139.1 kB / 0.789 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008267/0.7305, allocations: 1.281 MB / 0.7903 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/0.7306, allocations: 11.98 kB / 0.7903 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.7306, allocations: 0 / 0.7903 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007235/0.7379, allocations: 1.107 MB / 0.7914 GB, free: 5.168 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.7502, allocations: 2.645 MB / 0.794 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.7502, allocations: 4 kB / 0.794 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/0.7511, allocations: 111.8 kB / 0.7941 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/0.7523, allocations: 148.9 kB / 0.7942 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.7524, allocations: 23.98 kB / 0.7942 GB, free: 2.125 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.7539, allocations: 0.7101 MB / 0.7949 GB, free: 1.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.7539, allocations: 8.062 kB / 0.7949 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00946/0.7634, allocations: 1.708 MB / 0.7966 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.7648, allocations: 315.9 kB / 0.7969 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006117/0.7655, allocations: 16 kB / 0.7969 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.7673, allocations: 51.92 kB / 0.797 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.7675, allocations: 60.31 kB / 0.797 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/0.7678, allocations: 35.98 kB / 0.7971 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003092/0.7709, allocations: 0.8816 MB / 0.7979 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.01e-07/0.7709, allocations: 0 / 0.7979 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004268/0.7752, allocations: 0.7212 MB / 0.7986 GB, free: 13.52 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01175/0.7869, allocations: 2.609 MB / 0.8012 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004995/0.792, allocations: 1.117 MB / 0.8023 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.7921, allocations: 4 kB / 0.8023 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.7938, allocations: 394.3 kB / 0.8027 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007216/0.8011, allocations: 0.7995 MB / 0.8034 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5283/1.329, allocations: 9.865 MB / 0.8131 GB, free: 145.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/1.331, allocations: 1.166 MB / 0.8142 GB, free: 145 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002151/1.333, allocations: 297 kB / 0.8145 GB, free: 145 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.335, allocations: 0.5149 MB / 0.815 GB, free: 145 MB / 0.6387 GB Notification: Performance of SimCode: time 1.914e-06/1.335, allocations: 1.781 kB / 0.815 GB, free: 145 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/1.463, allocations: 42.32 MB / 0.8563 GB, free: 117.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.07/24.54, allocations: 11.25 kB / 0.8563 GB, free: 117.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL_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_Carnot_y_etaPL.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)