Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_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.0008298/0.0008299, allocations: 97.52 kB / 15.69 MB, free: 488 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.0008413/0.0008414, allocations: 171 kB / 16.56 MB, free: 6.391 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.12/1.12, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5742/0.5742, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002538/0.0002538, allocations: 8 kB / 493 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1185, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.2882/0.4067, allocations: 62.89 MB / 0.6181 GB, free: 372 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.4234, allocations: 11 MB / 0.6289 GB, free: 8.516 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002321/0.4257, allocations: 53.94 kB / 0.6289 GB, free: 8.492 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002704/0.4285, allocations: 0.7431 MB / 0.6297 GB, free: 8.07 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00763/0.4361, allocations: 2.3 MB / 0.6319 GB, free: 6.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.4409, allocations: 1.527 MB / 0.6334 GB, free: 5.605 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006181/0.4471, allocations: 2.5 MB / 0.6358 GB, free: 3.953 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.4493, allocations: 1.04 MB / 0.6369 GB, free: 3.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003191/0.4525, allocations: 1.159 MB / 0.638 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.4543, allocations: 0.768 MB / 0.6387 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.4545, allocations: 54.69 kB / 0.6388 GB, free: 2.152 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.4574, allocations: 0.8405 MB / 0.6396 GB, free: 1.805 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.4577, allocations: 259.5 kB / 0.6399 GB, free: 1.617 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006062/0.4583, allocations: 355.2 kB / 0.6402 GB, free: 1.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.4613, allocations: 2.019 MB / 0.6422 GB, free: 16 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4613, allocations: 0 / 0.6422 GB, free: 16 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4613, allocations: 0 / 0.6422 GB, free: 16 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.854e-05/0.4614, allocations: 1.094 kB / 0.6422 GB, free: 16 kB / 462.1 MB 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.004108/0.4655, allocations: 1.783 MB / 0.6439 GB, free: 14.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4655, allocations: 10.72 kB / 0.6439 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002236/0.4658, allocations: 149 kB / 0.6441 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008079/0.4666, allocations: 241.7 kB / 0.6443 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.469, allocations: 1.38 MB / 0.6456 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.4691, allocations: 75.16 kB / 0.6457 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.4692, allocations: 101.1 kB / 0.6458 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.4712, allocations: 1.107 MB / 0.6469 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.4712, allocations: 4 kB / 0.6469 GB, free: 12.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.03e-05/0.4713, allocations: 37.41 kB / 0.6469 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.391e-05/0.4713, allocations: 24.31 kB / 0.6469 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.4732, allocations: 0.9251 MB / 0.6479 GB, free: 12.09 MB / 478.1 MB 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.006399/0.4796, allocations: 4.961 MB / 0.6527 GB, free: 7.336 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.481, allocations: 0.6438 MB / 0.6533 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006875/0.4817, allocations: 0.8277 MB / 0.6541 GB, free: 5.672 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.4817, allocations: 39.12 kB / 0.6542 GB, free: 5.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.786e-06/0.4817, allocations: 3.938 kB / 0.6542 GB, free: 5.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.007463/0.4892, allocations: 1.87 MB / 0.656 GB, free: 3.727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.4893, allocations: 59.97 kB / 0.6561 GB, free: 3.656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.4912, allocations: 1.253 MB / 0.6573 GB, free: 2.387 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001545/0.4914, allocations: 41.64 kB / 0.6573 GB, free: 2.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000702/0.4921, allocations: 0.6026 MB / 0.6579 GB, free: 1.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.4923, allocations: 216.9 kB / 0.6581 GB, free: 1.516 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.4924, allocations: 20 kB / 0.6581 GB, free: 1.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.4926, allocations: 334 kB / 0.6585 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006811/0.4933, allocations: 293.8 kB / 0.6587 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007943/0.4941, allocations: 0.4921 MB / 0.6592 GB, free: 320 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.4949, allocations: 355 kB / 0.6596 GB, free: 15.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.4949, allocations: 8 kB / 0.6596 GB, free: 15.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004742/0.4996, allocations: 1.39 MB / 0.6609 GB, free: 14.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006014/0.5002, allocations: 1.419 MB / 0.6623 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5003, allocations: 8 kB / 0.6623 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/0.5009, allocations: 148.7 kB / 0.6625 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.5015, allocations: 163.8 kB / 0.6626 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008568/0.5024, allocations: 0.7006 MB / 0.6633 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.5038, allocations: 167 kB / 0.6635 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.5039, allocations: 35.98 kB / 0.6635 GB, free: 11.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.5039, allocations: 4 kB / 0.6635 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004411/0.5083, allocations: 1.246 MB / 0.6647 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.5083, allocations: 7.984 kB / 0.6647 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/0.5088, allocations: 148.8 kB / 0.6649 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006041/0.5094, allocations: 175.7 kB / 0.665 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008359/0.5103, allocations: 0.7045 MB / 0.6657 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.5116, allocations: 156.2 kB / 0.6659 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.844e-05/0.5117, allocations: 35.98 kB / 0.6659 GB, free: 9.305 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000746/0.5124, allocations: 424.8 kB / 0.6663 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.5126, allocations: 138.3 kB / 0.6664 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004645/0.5173, allocations: 1.392 MB / 0.6678 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.5173, allocations: 4 kB / 0.6678 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.5173, allocations: 0 / 0.6678 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004109/0.5214, allocations: 1.236 MB / 0.669 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006868/0.5283, allocations: 2.758 MB / 0.6717 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.5284, allocations: 4.438 kB / 0.6717 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.5288, allocations: 123.8 kB / 0.6718 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004667/0.5293, allocations: 132.8 kB / 0.6719 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/0.5294, allocations: 27.94 kB / 0.672 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/0.5342, allocations: 2.494 MB / 0.6744 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5342, allocations: 7.938 kB / 0.6744 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005512/0.5397, allocations: 2.062 MB / 0.6764 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008398/0.5406, allocations: 355.1 kB / 0.6768 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.5408, allocations: 12 kB / 0.6768 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008521/0.5416, allocations: 95.91 kB / 0.6769 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.5418, allocations: 60.27 kB / 0.6769 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.04e-05/0.5418, allocations: 31.97 kB / 0.677 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001227/0.5431, allocations: 0.8972 MB / 0.6778 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5431, allocations: 0 / 0.6778 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001774/0.5449, allocations: 0.7212 MB / 0.6785 GB, free: 11.79 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006897/0.5518, allocations: 3.848 MB / 0.6823 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002778/0.5546, allocations: 1.164 MB / 0.6834 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.5546, allocations: 0 / 0.6834 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/0.5561, allocations: 0.5954 MB / 0.684 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003683/0.5598, allocations: 0.7563 MB / 0.6848 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/0.5662, allocations: 5.936 MB / 0.6906 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/0.567, allocations: 1.196 MB / 0.6917 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001267/0.5683, allocations: 307 kB / 0.692 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006561/0.569, allocations: 0.5109 MB / 0.6925 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of SimCode: time 1.272e-06/0.569, allocations: 0 / 0.6925 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.402/0.971, allocations: 41.86 MB / 0.7334 GB, free: 3.828 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.9712, allocations: 235.3 kB / 0.7336 GB, free: 3.59 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.095/4.066, allocations: 0 / 0.7336 GB, free: 3.59 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: