Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y",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.001079/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009426/0.0009426, allocations: 195.8 kB / 16.14 MB, free: 6.707 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.217/1.217, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6808/0.6808, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001061/0.001061, allocations: 59.97 kB / 0.5012 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3103, allocations: 80.2 MB / 0.5795 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06181/0.3721, allocations: 74.68 MB / 0.6524 GB, free: 6.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01523/0.3874, allocations: 12.79 MB / 0.6649 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001825/0.3893, allocations: 59.62 kB / 0.665 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.3909, allocations: 0.6798 MB / 0.6656 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.3957, allocations: 2.278 MB / 0.6678 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.3982, allocations: 1.252 MB / 0.6691 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004575/0.4028, allocations: 5.55 MB / 0.6745 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.4041, allocations: 1.19 MB / 0.6757 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001912/0.406, allocations: 1.349 MB / 0.677 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.4071, allocations: 1.182 MB / 0.6781 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.4073, allocations: 80 kB / 0.6782 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.4095, allocations: 1.255 MB / 0.6794 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.4098, allocations: 314.6 kB / 0.6797 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006881/0.4105, allocations: 0.8122 MB / 0.6805 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.4131, allocations: 2.777 MB / 0.6832 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4131, allocations: 0 / 0.6832 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.61e-07/0.4132, allocations: 0 / 0.6832 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.364e-05/0.4132, allocations: 4 kB / 0.6832 GB, free: 7.113 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.003138/0.4163, allocations: 2.079 MB / 0.6853 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.4164, allocations: 8.031 kB / 0.6853 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.4165, allocations: 148.1 kB / 0.6854 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007014/0.4172, allocations: 222.9 kB / 0.6856 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.4192, allocations: 1.5 MB / 0.6871 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/0.4193, allocations: 78 kB / 0.6872 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.4194, allocations: 100 kB / 0.6873 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.4212, allocations: 1.104 MB / 0.6883 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.4212, allocations: 3.938 kB / 0.6883 GB, free: 1.715 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/0.4213, allocations: 36 kB / 0.6884 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.055e-05/0.4213, allocations: 32 kB / 0.6884 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.423, allocations: 0.8861 MB / 0.6893 GB, free: 0.7578 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.005015/0.4281, allocations: 4.895 MB / 0.6941 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.4293, allocations: 0.6166 MB / 0.6947 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.4299, allocations: 355 kB / 0.695 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/0.4305, allocations: 0.8277 MB / 0.6958 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.4305, allocations: 43.12 kB / 0.6958 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.335e-06/0.4305, allocations: 0 / 0.6958 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006639/0.4372, allocations: 1.674 MB / 0.6975 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4372, allocations: 59.97 kB / 0.6975 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.4386, allocations: 1.21 MB / 0.6987 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.454e-05/0.4387, allocations: 37.7 kB / 0.6988 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.4391, allocations: 0.6026 MB / 0.6993 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.4393, allocations: 220.9 kB / 0.6996 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002065/0.4395, allocations: 154.5 kB / 0.6997 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.004e-05/0.4396, allocations: 337.9 kB / 0.7 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.4402, allocations: 288.7 kB / 0.7003 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007282/0.4409, allocations: 497.4 kB / 0.7008 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.4422, allocations: 0.7129 MB / 0.7015 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.4422, allocations: 0 / 0.7015 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004226/0.4464, allocations: 1.277 MB / 0.7027 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4464, allocations: 8 kB / 0.7027 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4465, allocations: 4 kB / 0.7027 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.447, allocations: 133.1 kB / 0.7029 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.4476, allocations: 159.7 kB / 0.703 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007223/0.4483, allocations: 0.7005 MB / 0.7037 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009615/0.4493, allocations: 155.1 kB / 0.7038 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.124e-05/0.4493, allocations: 31.98 kB / 0.7039 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009292/0.4503, allocations: 0.5527 MB / 0.7044 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007304/0.451, allocations: 495.8 kB / 0.7049 GB, free: 15.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001235/0.4523, allocations: 0.7012 MB / 0.7056 GB, free: 15.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.4523, allocations: 4 kB / 0.7056 GB, free: 15.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004137/0.4564, allocations: 1.269 MB / 0.7068 GB, free: 13.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.4564, allocations: 8 kB / 0.7068 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4564, allocations: 4 kB / 0.7068 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/0.4569, allocations: 132.9 kB / 0.7069 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.4574, allocations: 163.7 kB / 0.7071 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006674/0.4581, allocations: 0.6966 MB / 0.7078 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009332/0.459, allocations: 135.5 kB / 0.7079 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.4591, allocations: 31.98 kB / 0.7079 GB, free: 12.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.4593, allocations: 224.7 kB / 0.7082 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.4595, allocations: 138.2 kB / 0.7083 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.4637, allocations: 1.26 MB / 0.7095 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.4637, allocations: 15.98 kB / 0.7095 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4637, allocations: 0 / 0.7095 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003762/0.4675, allocations: 1.096 MB / 0.7106 GB, free: 9.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005569/0.4731, allocations: 2.602 MB / 0.7131 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.4731, allocations: 4 kB / 0.7132 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.4735, allocations: 119.8 kB / 0.7133 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004197/0.474, allocations: 128.7 kB / 0.7134 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.474, allocations: 23.98 kB / 0.7134 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/0.478, allocations: 2.33 MB / 0.7157 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.478, allocations: 4 kB / 0.7157 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/0.4826, allocations: 1.699 MB / 0.7173 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.4831, allocations: 311.1 kB / 0.7176 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.4832, allocations: 19.98 kB / 0.7177 GB, free: 2.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007885/0.484, allocations: 79.97 kB / 0.7177 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.4842, allocations: 56.25 kB / 0.7178 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.4842, allocations: 31.97 kB / 0.7178 GB, free: 2.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001047/0.4853, allocations: 0.8699 MB / 0.7187 GB, free: 1.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4853, allocations: 0 / 0.7187 GB, free: 1.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001591/0.4869, allocations: 0.7134 MB / 0.7194 GB, free: 0.6211 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005557/0.4924, allocations: 2.576 MB / 0.7219 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.4948, allocations: 1.105 MB / 0.723 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.4948, allocations: 4.938 kB / 0.723 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.4961, allocations: 0.564 MB / 0.7235 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/0.4992, allocations: 0.7579 MB / 0.7243 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/0.5204, allocations: 10.82 MB / 0.7348 GB, free: 224 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006309/0.5211, allocations: 1.168 MB / 0.736 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001156/0.5222, allocations: 307 kB / 0.7363 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005903/0.5228, allocations: 0.5032 MB / 0.7368 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.5228, allocations: 0 / 0.7368 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.091/2.613, allocations: 40.3 MB / 0.7761 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002083/2.614, allocations: 264.9 kB / 0.7764 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.801/6.415, allocations: 0 / 0.7764 GB, free: 6.152 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)