Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_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.001289/0.00129, allocations: 100.4 kB / 15.05 MB, free: 1.105 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.001659/0.001659, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.971/1.971, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9505/0.9505, allocations: 135.2 MB / 426.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 15.98 kB / 0.5069 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 82.31 MB / 0.5873 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.3158/0.4666, allocations: 62.9 MB / 0.6487 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4798, allocations: 10.98 MB / 0.6594 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002056/0.4819, allocations: 53.75 kB / 0.6595 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.4838, allocations: 0.7448 MB / 0.6602 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005958/0.4897, allocations: 2.294 MB / 0.6624 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.4937, allocations: 1.52 MB / 0.6639 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004386/0.4981, allocations: 2.5 MB / 0.6664 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.4999, allocations: 1.037 MB / 0.6674 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.5026, allocations: 1.155 MB / 0.6685 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.504, allocations: 0.7646 MB / 0.6693 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.5042, allocations: 55.5 kB / 0.6693 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.5073, allocations: 0.8433 MB / 0.6701 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.5077, allocations: 260.3 kB / 0.6704 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007877/0.5085, allocations: 359.5 kB / 0.6707 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.5126, allocations: 2.012 MB / 0.6727 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5126, allocations: 0 / 0.6727 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5126, allocations: 3.938 kB / 0.6727 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.623e-05/0.5127, allocations: 0 / 0.6727 GB, free: 1.512 MB / 0.4981 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.003566/0.5163, allocations: 1.783 MB / 0.6744 GB, free: 360 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5163, allocations: 13 kB / 0.6744 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/0.5165, allocations: 147.1 kB / 0.6746 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007948/0.5173, allocations: 241.3 kB / 0.6748 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.5199, allocations: 1.377 MB / 0.6762 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.34e-05/0.52, allocations: 76.78 kB / 0.6762 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.5201, allocations: 107.7 kB / 0.6763 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.5224, allocations: 1.109 MB / 0.6774 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.5224, allocations: 1.703 kB / 0.6774 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.5225, allocations: 37.56 kB / 0.6775 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/0.5226, allocations: 29.38 kB / 0.6775 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.5245, allocations: 0.9242 MB / 0.6784 GB, free: 14.41 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.006618/0.5311, allocations: 4.942 MB / 0.6832 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.5325, allocations: 0.634 MB / 0.6838 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006469/0.5332, allocations: 0.8265 MB / 0.6846 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5332, allocations: 39.86 kB / 0.6847 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.569e-06/0.5332, allocations: 3.984 kB / 0.6847 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007253/0.5405, allocations: 1.878 MB / 0.6865 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.5405, allocations: 58.09 kB / 0.6866 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.5424, allocations: 1.248 MB / 0.6878 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.06e-05/0.5425, allocations: 39.67 kB / 0.6878 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/0.543, allocations: 0.6052 MB / 0.6884 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002298/0.5433, allocations: 221.3 kB / 0.6886 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.5433, allocations: 14.97 kB / 0.6886 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5435, allocations: 332.9 kB / 0.689 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006682/0.5441, allocations: 299 kB / 0.6893 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008297/0.545, allocations: 0.4958 MB / 0.6897 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007297/0.5457, allocations: 358.7 kB / 0.6901 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5457, allocations: 1.875 kB / 0.6901 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00462/0.5503, allocations: 1.389 MB / 0.6914 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005208/0.5509, allocations: 1.426 MB / 0.6928 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.5509, allocations: 3.969 kB / 0.6928 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.5515, allocations: 144.7 kB / 0.693 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.5521, allocations: 168.1 kB / 0.6931 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008121/0.5529, allocations: 0.7124 MB / 0.6938 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.5543, allocations: 164.2 kB / 0.694 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.5543, allocations: 34.62 kB / 0.694 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.5544, allocations: 4.5 kB / 0.694 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004241/0.5586, allocations: 1.251 MB / 0.6952 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.5586, allocations: 3.562 kB / 0.6952 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004644/0.5591, allocations: 141.8 kB / 0.6954 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.5597, allocations: 170.6 kB / 0.6955 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007817/0.5605, allocations: 0.704 MB / 0.6962 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.5619, allocations: 165.6 kB / 0.6964 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.562, allocations: 35.25 kB / 0.6964 GB, free: 3.391 MB / 0.5137 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 (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.0008863/0.5629, allocations: 421.6 kB / 0.6968 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/0.5631, allocations: 130.2 kB / 0.6969 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004609/0.5677, allocations: 1.399 MB / 0.6983 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.5677, allocations: 8.719 kB / 0.6983 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.5677, allocations: 0 / 0.6983 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00406/0.5718, allocations: 1.227 MB / 0.6995 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006819/0.5786, allocations: 2.756 MB / 0.7022 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.5787, allocations: 11.69 kB / 0.7022 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.5791, allocations: 122.3 kB / 0.7023 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.5796, allocations: 143.8 kB / 0.7025 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.5797, allocations: 21.58 kB / 0.7025 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004802/0.5845, allocations: 2.495 MB / 0.7049 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.5845, allocations: 4.969 kB / 0.7049 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005365/0.5899, allocations: 2.052 MB / 0.7069 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009004/0.5908, allocations: 350.2 kB / 0.7073 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/0.5912, allocations: 18.81 kB / 0.7073 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.5923, allocations: 94.27 kB / 0.7074 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.5925, allocations: 65.06 kB / 0.7074 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.5925, allocations: 28.61 kB / 0.7075 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001543/0.5941, allocations: 0.8962 MB / 0.7084 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5941, allocations: 0 / 0.7084 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002469/0.5966, allocations: 0.7209 MB / 0.7091 GB, free: 12.05 MB / 0.5294 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.00636/0.603, allocations: 3.863 MB / 0.7128 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002501/0.6055, allocations: 1.163 MB / 0.714 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.6055, allocations: 2.688 kB / 0.714 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.6069, allocations: 0.5964 MB / 0.7145 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/0.6104, allocations: 0.7507 MB / 0.7153 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006395/0.6168, allocations: 5.936 MB / 0.7211 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007677/0.6176, allocations: 1.2 MB / 0.7222 GB, free: 376 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001257/0.6189, allocations: 303 kB / 0.7225 GB, free: 68 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006977/0.6196, allocations: 0.5033 MB / 0.723 GB, free: 15.56 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.6196, allocations: 0 / 0.723 GB, free: 15.56 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.501/2.121, allocations: 41.85 MB / 0.7639 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/2.121, allocations: 248.2 kB / 0.7641 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.217/5.338, allocations: 3.938 kB / 0.7641 GB, free: 5.945 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_y.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: