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.0007181/0.0007181, allocations: 92.78 kB / 15.7 MB, free: 472 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.0007819/0.0007819, allocations: 171.9 kB / 16.58 MB, free: 6.051 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.224/1.224, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6038/0.6038, allocations: 113.7 MB / 405.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002649, allocations: 8 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.2867/0.4095, allocations: 69.35 MB / 0.6246 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01475/0.4243, allocations: 11.95 MB / 0.6363 GB, free: 3.703 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00186/0.4262, allocations: 57.62 kB / 0.6363 GB, free: 3.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.4277, allocations: 0.5645 MB / 0.6369 GB, free: 3.195 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004559/0.4323, allocations: 1.893 MB / 0.6387 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.4349, allocations: 0.9738 MB / 0.6397 GB, free: 1.004 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005152/0.4401, allocations: 4.795 MB / 0.6444 GB, free: 14.15 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.4415, allocations: 1.015 MB / 0.6454 GB, free: 13.53 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002405/0.4439, allocations: 1.26 MB / 0.6466 GB, free: 12.85 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.4455, allocations: 1.058 MB / 0.6476 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.4457, allocations: 59.28 kB / 0.6477 GB, free: 12.24 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002114/0.4478, allocations: 0.9189 MB / 0.6486 GB, free: 11.77 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.4481, allocations: 271.3 kB / 0.6488 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.4485, allocations: 360.4 kB / 0.6492 GB, free: 11.36 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.4504, allocations: 2.084 MB / 0.6512 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4505, allocations: 0 / 0.6512 GB, free: 9.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4505, allocations: 0 / 0.6512 GB, free: 9.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.314e-05/0.4505, allocations: 3.938 kB / 0.6512 GB, free: 9.926 MB / 478.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.002802/0.4533, allocations: 1.796 MB / 0.653 GB, free: 8.477 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4533, allocations: 15.97 kB / 0.653 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.4535, allocations: 155.9 kB / 0.6531 GB, free: 8.301 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006489/0.4542, allocations: 233.9 kB / 0.6534 GB, free: 8.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002047/0.4562, allocations: 1.435 MB / 0.6548 GB, free: 6.578 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.4563, allocations: 74 kB / 0.6548 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.4564, allocations: 100 kB / 0.6549 GB, free: 6.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.4582, allocations: 1.12 MB / 0.656 GB, free: 5.254 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.4582, allocations: 0 / 0.656 GB, free: 5.254 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.4583, allocations: 43.94 kB / 0.6561 GB, free: 5.211 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/0.4583, allocations: 24 kB / 0.6561 GB, free: 5.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/0.46, allocations: 0.9212 MB / 0.657 GB, free: 4.27 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.004891/0.4649, allocations: 4.919 MB / 0.6618 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.4661, allocations: 0.6366 MB / 0.6624 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.4667, allocations: 366.3 kB / 0.6628 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005137/0.4672, allocations: 0.8238 MB / 0.6636 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.4673, allocations: 43.11 kB / 0.6636 GB, free: 13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 1.913e-06/0.4673, allocations: 4 kB / 0.6636 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.005854/0.4731, allocations: 1.884 MB / 0.6655 GB, free: 11.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4732, allocations: 63.97 kB / 0.6655 GB, free: 11.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.4745, allocations: 1.194 MB / 0.6667 GB, free: 9.801 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.562e-05/0.4746, allocations: 45.69 kB / 0.6667 GB, free: 9.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.475, allocations: 0.5948 MB / 0.6673 GB, free: 9.148 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.4752, allocations: 216.8 kB / 0.6675 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.4752, allocations: 16 kB / 0.6675 GB, free: 8.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.4753, allocations: 333.9 kB / 0.6678 GB, free: 8.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005784/0.4759, allocations: 293.8 kB / 0.6681 GB, free: 8.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.4766, allocations: 0.5038 MB / 0.6686 GB, free: 7.715 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006208/0.4773, allocations: 355 kB / 0.669 GB, free: 7.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4773, allocations: 0 / 0.669 GB, free: 7.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003819/0.4811, allocations: 1.386 MB / 0.6703 GB, free: 5.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.815e-05/0.4812, allocations: 210 kB / 0.6705 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.4812, allocations: 4 kB / 0.6705 GB, free: 5.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004891/0.4817, allocations: 144.7 kB / 0.6707 GB, free: 5.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005409/0.4823, allocations: 175.7 kB / 0.6708 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000667/0.4829, allocations: 0.7006 MB / 0.6715 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009155/0.4839, allocations: 163.1 kB / 0.6717 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.4839, allocations: 35.98 kB / 0.6717 GB, free: 4.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-06/0.484, allocations: 7.938 kB / 0.6717 GB, free: 4.461 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003565/0.4875, allocations: 1.246 MB / 0.6729 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4875, allocations: 4 kB / 0.6729 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004021/0.488, allocations: 148.9 kB / 0.6731 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.4885, allocations: 171.7 kB / 0.6732 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006315/0.4891, allocations: 0.7045 MB / 0.6739 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.49, allocations: 155.2 kB / 0.6741 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.4901, allocations: 31.98 kB / 0.6741 GB, free: 1.977 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.0004994/0.4906, allocations: 421.6 kB / 0.6745 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.4908, allocations: 134.3 kB / 0.6746 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.4946, allocations: 1.4 MB / 0.676 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.55e-05/0.4947, allocations: 8.047 kB / 0.676 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4947, allocations: 3.938 kB / 0.676 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003453/0.4982, allocations: 1.232 MB / 0.6772 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/0.5038, allocations: 2.739 MB / 0.6799 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.5039, allocations: 4 kB / 0.6799 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.5043, allocations: 119.9 kB / 0.68 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004161/0.5047, allocations: 144.7 kB / 0.6801 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.5048, allocations: 19.98 kB / 0.6802 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/0.5087, allocations: 2.431 MB / 0.6825 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5087, allocations: 4 kB / 0.6825 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/0.5132, allocations: 1.844 MB / 0.6843 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.5137, allocations: 331.1 kB / 0.6847 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.5138, allocations: 19.98 kB / 0.6847 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007469/0.5146, allocations: 96.19 kB / 0.6848 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.5147, allocations: 56.31 kB / 0.6848 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.5148, allocations: 35.92 kB / 0.6849 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001046/0.5158, allocations: 0.8581 MB / 0.6857 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.413e-06/0.5158, allocations: 0 / 0.6857 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0016/0.5174, allocations: 0.7134 MB / 0.6864 GB, free: 4.977 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.005074/0.5225, allocations: 2.701 MB / 0.689 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.5247, allocations: 1.164 MB / 0.6902 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5248, allocations: 4 kB / 0.6902 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.526, allocations: 0.5956 MB / 0.6907 GB, free: 448 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.5289, allocations: 0.7491 MB / 0.6915 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.5448, allocations: 8.345 MB / 0.6996 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.5456, allocations: 1.169 MB / 0.7008 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001295/0.5469, allocations: 307 kB / 0.7011 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006072/0.5475, allocations: 0.5071 MB / 0.7016 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.5475, allocations: 0 / 0.7016 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05829/0.6058, allocations: 41.96 MB / 0.7425 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.606, allocations: 241.5 kB / 0.7428 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.429/3.035, allocations: 0 / 0.7428 GB, free: 11.28 MB / 0.5606 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: