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.0008102/0.0008102, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005136/0.005136, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.706/0.706, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002994, allocations: 16.7 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3555, allocations: 81.56 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06638/0.4219, allocations: 73.42 MB / 0.6554 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.4381, allocations: 12.65 MB / 0.6678 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.44, allocations: 63.62 kB / 0.6679 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.4417, allocations: 0.672 MB / 0.6685 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005003/0.4467, allocations: 2.27 MB / 0.6707 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.4494, allocations: 1.268 MB / 0.672 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005232/0.4546, allocations: 5.539 MB / 0.6774 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.4561, allocations: 1.143 MB / 0.6785 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.4582, allocations: 1.334 MB / 0.6798 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.4594, allocations: 1.128 MB / 0.6809 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.4595, allocations: 56 kB / 0.6809 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002483/0.462, allocations: 1.255 MB / 0.6822 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003738/0.4624, allocations: 286.6 kB / 0.6824 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007186/0.4631, allocations: 0.7983 MB / 0.6832 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002738/0.4659, allocations: 2.73 MB / 0.6859 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4659, allocations: 4 kB / 0.6859 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4659, allocations: 0 / 0.6859 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.4659, allocations: 4 kB / 0.6859 GB, free: 7.504 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.002955/0.4689, allocations: 1.783 MB / 0.6876 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.469, allocations: 16.02 kB / 0.6877 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.4691, allocations: 148.1 kB / 0.6878 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000709/0.4698, allocations: 242.8 kB / 0.688 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/0.4719, allocations: 1.489 MB / 0.6895 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.472, allocations: 82 kB / 0.6896 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.4721, allocations: 100 kB / 0.6897 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/0.474, allocations: 1.116 MB / 0.6907 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.4741, allocations: 0 / 0.6907 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-05/0.4742, allocations: 43.98 kB / 0.6908 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.4742, allocations: 35.92 kB / 0.6908 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/0.4761, allocations: 0.9213 MB / 0.6917 GB, free: 1.375 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.005165/0.4812, allocations: 4.927 MB / 0.6965 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.4826, allocations: 0.6577 MB / 0.6972 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007356/0.4833, allocations: 371.1 kB / 0.6975 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000616/0.484, allocations: 0.8277 MB / 0.6983 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.484, allocations: 43.12 kB / 0.6984 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 1.914e-06/0.484, allocations: 0 / 0.6984 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.007424/0.4914, allocations: 1.9 MB / 0.7002 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.4915, allocations: 59.97 kB / 0.7003 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.4929, allocations: 1.206 MB / 0.7015 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.493, allocations: 45.7 kB / 0.7015 GB, free: 6.797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004582/0.4935, allocations: 0.6025 MB / 0.7021 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.4936, allocations: 216.9 kB / 0.7023 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/0.4937, allocations: 61.69 kB / 0.7024 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4938, allocations: 334 kB / 0.7027 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.4945, allocations: 301.8 kB / 0.703 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/0.4954, allocations: 0.4991 MB / 0.7035 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.4968, allocations: 0.751 MB / 0.7042 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.4968, allocations: 4 kB / 0.7042 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004853/0.5016, allocations: 1.41 MB / 0.7056 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.5018, allocations: 189.4 kB / 0.7058 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.5018, allocations: 8 kB / 0.7058 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/0.5025, allocations: 172.6 kB / 0.7059 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/0.5031, allocations: 167.7 kB / 0.7061 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000844/0.504, allocations: 0.7231 MB / 0.7068 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5051, allocations: 163.1 kB / 0.7069 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.5052, allocations: 35.98 kB / 0.707 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.5052, allocations: 4 kB / 0.707 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004594/0.5098, allocations: 1.269 MB / 0.7082 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5098, allocations: 4 kB / 0.7082 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005948/0.5104, allocations: 165.1 kB / 0.7084 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/0.511, allocations: 155.8 kB / 0.7085 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007923/0.5118, allocations: 0.7435 MB / 0.7093 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.5129, allocations: 151.2 kB / 0.7094 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/0.5129, allocations: 35.98 kB / 0.7094 GB, free: 14.43 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.0005873/0.5135, allocations: 418.4 kB / 0.7098 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.5137, allocations: 142.2 kB / 0.71 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/0.5186, allocations: 1.411 MB / 0.7114 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.5186, allocations: 11.98 kB / 0.7114 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5186, allocations: 0 / 0.7114 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004288/0.5229, allocations: 1.252 MB / 0.7126 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006486/0.5294, allocations: 2.743 MB / 0.7153 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.5294, allocations: 4 kB / 0.7153 GB, free: 8.289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.5299, allocations: 128.2 kB / 0.7154 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006119/0.5305, allocations: 164.6 kB / 0.7155 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.5306, allocations: 16 kB / 0.7156 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000796/0.5314, allocations: 0.7279 MB / 0.7163 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5314, allocations: 4 kB / 0.7163 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00541/0.5368, allocations: 1.852 MB / 0.7181 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005876/0.5374, allocations: 339.1 kB / 0.7184 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.5376, allocations: 16 kB / 0.7184 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008784/0.5385, allocations: 91.81 kB / 0.7185 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.5386, allocations: 60.25 kB / 0.7186 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.5386, allocations: 35.92 kB / 0.7186 GB, free: 4.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001119/0.5398, allocations: 0.8699 MB / 0.7195 GB, free: 3.883 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5398, allocations: 4 kB / 0.7195 GB, free: 3.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001625/0.5414, allocations: 0.7018 MB / 0.7201 GB, free: 3.176 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.006306/0.5477, allocations: 2.748 MB / 0.7228 GB, free: 364 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.5503, allocations: 1.172 MB / 0.724 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5503, allocations: 4.125 kB / 0.724 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008525/0.5512, allocations: 403.2 kB / 0.7244 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004089/0.5553, allocations: 0.7808 MB / 0.7251 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/0.5792, allocations: 11.22 MB / 0.7361 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.5799, allocations: 1.176 MB / 0.7372 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001217/0.5811, allocations: 310.2 kB / 0.7375 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/0.5818, allocations: 0.5188 MB / 0.738 GB, free: 288 kB / 0.5606 GB Notification: Performance of SimCode: time 8.21e-07/0.5818, allocations: 0 / 0.738 GB, free: 288 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8259/1.408, allocations: 42.23 MB / 0.7793 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/1.408, allocations: 264.2 kB / 0.7795 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.435, allocations: 4 kB / 0.7795 GB, free: 6.332 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_y_etaPL.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)