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.00108/0.00108, allocations: 104 kB / 15.6 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.00105/0.00105, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7233/0.7233, allocations: 132.2 MB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 65.17 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3342, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07235/0.4066, allocations: 75.15 MB / 0.6536 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02461/0.4312, allocations: 12.74 MB / 0.666 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/0.434, allocations: 67.62 kB / 0.6661 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.4366, allocations: 0.8189 MB / 0.6669 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00863/0.4452, allocations: 2.463 MB / 0.6693 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003929/0.4492, allocations: 1.374 MB / 0.6706 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007626/0.4568, allocations: 4.379 MB / 0.6749 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002868/0.4597, allocations: 1.449 MB / 0.6763 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/0.4641, allocations: 1.615 MB / 0.6779 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.4661, allocations: 1.186 MB / 0.679 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003918/0.4665, allocations: 164 kB / 0.6792 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003475/0.47, allocations: 1.423 MB / 0.6806 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005244/0.4706, allocations: 394.6 kB / 0.681 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.4718, allocations: 0.906 MB / 0.6819 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003959/0.4758, allocations: 2.859 MB / 0.6846 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4758, allocations: 7.984 kB / 0.6847 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.82e-07/0.4758, allocations: 0 / 0.6847 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.212e-05/0.4758, allocations: 0 / 0.6847 GB, free: 6.219 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003759/0.4796, allocations: 2.083 MB / 0.6867 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.4796, allocations: 8.031 kB / 0.6867 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.4798, allocations: 148.1 kB / 0.6868 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008026/0.4806, allocations: 230.8 kB / 0.6871 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.4828, allocations: 1.461 MB / 0.6885 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.4828, allocations: 74 kB / 0.6886 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.483, allocations: 100 kB / 0.6887 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.4849, allocations: 1.108 MB / 0.6897 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.4849, allocations: 3.938 kB / 0.6897 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/0.485, allocations: 36 kB / 0.6898 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.485, allocations: 27.98 kB / 0.6898 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.4869, allocations: 0.89 MB / 0.6907 GB, free: 15.89 MB / 0.5294 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.0054/0.4923, allocations: 4.95 MB / 0.6955 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.4937, allocations: 0.6331 MB / 0.6961 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.4944, allocations: 346.3 kB / 0.6965 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006172/0.495, allocations: 0.8316 MB / 0.6973 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4951, allocations: 35.12 kB / 0.6973 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.074e-06/0.4951, allocations: 0 / 0.6973 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007324/0.5024, allocations: 1.701 MB / 0.699 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.5025, allocations: 55.97 kB / 0.699 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.5039, allocations: 1.229 MB / 0.7002 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/0.504, allocations: 41.7 kB / 0.7003 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.5045, allocations: 0.6026 MB / 0.7008 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.5047, allocations: 212.9 kB / 0.701 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.505, allocations: 158.5 kB / 0.7012 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5051, allocations: 330 kB / 0.7015 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.5058, allocations: 292.7 kB / 0.7018 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008549/0.5066, allocations: 491 kB / 0.7023 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.5081, allocations: 0.712 MB / 0.703 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5081, allocations: 0 / 0.703 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004801/0.5129, allocations: 1.273 MB / 0.7042 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5129, allocations: 8 kB / 0.7042 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5129, allocations: 4 kB / 0.7042 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/0.5136, allocations: 157 kB / 0.7044 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.5143, allocations: 159.8 kB / 0.7045 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008458/0.5151, allocations: 0.7162 MB / 0.7052 GB, free: 280 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.516, allocations: 127.5 kB / 0.7053 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.5161, allocations: 31.98 kB / 0.7054 GB, free: 120 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001038/0.5172, allocations: 0.5581 MB / 0.7059 GB, free: 15.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008109/0.518, allocations: 488.7 kB / 0.7064 GB, free: 15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001392/0.5194, allocations: 0.7004 MB / 0.7071 GB, free: 14.26 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.155e-06/0.5194, allocations: 0 / 0.7071 GB, free: 14.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004688/0.5241, allocations: 1.273 MB / 0.7083 GB, free: 12.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5241, allocations: 8 kB / 0.7083 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.5241, allocations: 7.938 kB / 0.7083 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/0.5248, allocations: 156.8 kB / 0.7085 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/0.5254, allocations: 159.7 kB / 0.7086 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008314/0.5262, allocations: 0.7162 MB / 0.7093 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009974/0.5272, allocations: 95.58 kB / 0.7094 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/0.5273, allocations: 35.98 kB / 0.7094 GB, free: 11.77 MB / 0.545 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.0002376/0.5275, allocations: 224 kB / 0.7097 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.5278, allocations: 138.3 kB / 0.7098 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/0.5327, allocations: 1.286 MB / 0.711 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.5327, allocations: 8 kB / 0.711 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5327, allocations: 0 / 0.711 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004313/0.537, allocations: 1.115 MB / 0.7121 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006475/0.5435, allocations: 2.626 MB / 0.7147 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.5435, allocations: 4 kB / 0.7147 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004759/0.544, allocations: 111.9 kB / 0.7148 GB, free: 6.105 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006131/0.5446, allocations: 152.8 kB / 0.715 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.588e-05/0.5447, allocations: 24 kB / 0.715 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008059/0.5455, allocations: 0.7068 MB / 0.7157 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.5455, allocations: 7.938 kB / 0.7157 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005344/0.5509, allocations: 1.703 MB / 0.7173 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.5514, allocations: 311.2 kB / 0.7176 GB, free: 3.094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.5516, allocations: 16 kB / 0.7177 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.5524, allocations: 59.88 kB / 0.7177 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5525, allocations: 52.38 kB / 0.7178 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/0.5526, allocations: 35.97 kB / 0.7178 GB, free: 2.934 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001147/0.5537, allocations: 0.8777 MB / 0.7187 GB, free: 2.055 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5537, allocations: 0 / 0.7187 GB, free: 2.055 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001621/0.5553, allocations: 0.7135 MB / 0.7194 GB, free: 1.34 MB / 0.545 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.006286/0.5616, allocations: 2.603 MB / 0.7219 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002713/0.5644, allocations: 1.164 MB / 0.723 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.5644, allocations: 4 kB / 0.723 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008747/0.5653, allocations: 386.3 kB / 0.7234 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/0.5687, allocations: 0.8052 MB / 0.7242 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.5879, allocations: 10.48 MB / 0.7344 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007455/0.5887, allocations: 1.18 MB / 0.7356 GB, free: 188 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00123/0.5899, allocations: 306.3 kB / 0.7359 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/0.5906, allocations: 0.5148 MB / 0.7364 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of SimCode: time 7.31e-07/0.5906, allocations: 3.938 kB / 0.7364 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07086/0.6614, allocations: 42.08 MB / 0.7775 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.82, allocations: 5.625 kB / 0.7775 GB, free: 5.809 MB / 0.6075 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)