Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.0008992/0.0008991, allocations: 97.36 kB / 15.69 MB, free: 480 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.0009292/0.0009293, allocations: 174.5 kB / 16.57 MB, free: 6.398 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.232/1.232, allocations: 223.2 MB / 240.5 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6238/0.6238, allocations: 113.7 MB / 405.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003072, allocations: 8 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1552, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.3082/0.4635, allocations: 51.26 MB / 0.6068 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.4767, allocations: 10.3 MB / 0.6168 GB, free: 1.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.4788, allocations: 50.75 kB / 0.6169 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002021/0.4808, allocations: 0.624 MB / 0.6175 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.4869, allocations: 1.949 MB / 0.6194 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.4909, allocations: 1.317 MB / 0.6207 GB, free: 14.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003572/0.4945, allocations: 1.847 MB / 0.6225 GB, free: 13.97 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.4957, allocations: 0.802 MB / 0.6233 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.4978, allocations: 0.9864 MB / 0.6242 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008452/0.4986, allocations: 0.6036 MB / 0.6248 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.4988, allocations: 41.91 kB / 0.6249 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.5011, allocations: 1.008 MB / 0.6258 GB, free: 12.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.5013, allocations: 194.8 kB / 0.626 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.5016, allocations: 286.4 kB / 0.6263 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.5033, allocations: 1.587 MB / 0.6279 GB, free: 11.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.5034, allocations: 5.375 kB / 0.6279 GB, free: 11.33 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5034, allocations: 0 / 0.6279 GB, free: 11.33 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.5034, allocations: 0 / 0.6279 GB, free: 11.33 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002882/0.5063, allocations: 1.492 MB / 0.6293 GB, free: 10.17 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5063, allocations: 9.719 kB / 0.6293 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.5065, allocations: 119.1 kB / 0.6294 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.5081, allocations: 389.7 kB / 0.6298 GB, free: 9.902 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.5099, allocations: 1.037 MB / 0.6308 GB, free: 9.059 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003319/0.5102, allocations: 127.7 kB / 0.6309 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.5103, allocations: 81.81 kB / 0.631 GB, free: 8.984 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.512, allocations: 0.9617 MB / 0.632 GB, free: 8.367 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.512, allocations: 4.984 kB / 0.632 GB, free: 8.363 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.5121, allocations: 35.48 kB / 0.632 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.5122, allocations: 19.56 kB / 0.632 GB, free: 8.336 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.514, allocations: 0.8412 MB / 0.6328 GB, free: 7.941 MB / 462.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.005301/0.5193, allocations: 4.814 MB / 0.6375 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.5208, allocations: 0.6106 MB / 0.6381 GB, free: 3.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/0.522, allocations: 1.392 MB / 0.6395 GB, free: 1.785 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.522, allocations: 36.16 kB / 0.6395 GB, free: 1.742 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 1.894e-06/0.522, allocations: 1.594 kB / 0.6395 GB, free: 1.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.006166/0.5282, allocations: 1.843 MB / 0.6413 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.5282, allocations: 54.41 kB / 0.6414 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.5295, allocations: 1.061 MB / 0.6424 GB, free: 216 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.5295, allocations: 40.2 kB / 0.6425 GB, free: 176 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003479/0.5299, allocations: 0.5234 MB / 0.643 GB, free: 15.71 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/0.53, allocations: 148.7 kB / 0.6431 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.53, allocations: 11.91 kB / 0.6431 GB, free: 15.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.405e-05/0.5301, allocations: 325 kB / 0.6434 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/0.5308, allocations: 285.1 kB / 0.6437 GB, free: 15.12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000774/0.5316, allocations: 489.1 kB / 0.6442 GB, free: 14.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.5323, allocations: 334.8 kB / 0.6445 GB, free: 14.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5323, allocations: 3.953 kB / 0.6445 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002046/0.5343, allocations: 0.9674 MB / 0.6454 GB, free: 14.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004537/0.5348, allocations: 1.573 MB / 0.647 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.5348, allocations: 10.05 kB / 0.647 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.536, allocations: 328.4 kB / 0.6473 GB, free: 12.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004202/0.5364, allocations: 119.8 kB / 0.6474 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.5377, allocations: 0.9476 MB / 0.6483 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.5389, allocations: 175.3 kB / 0.6485 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.5389, allocations: 28.86 kB / 0.6485 GB, free: 10.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.5389, allocations: 4 kB / 0.6485 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001942/0.5409, allocations: 0.8516 MB / 0.6494 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5409, allocations: 4.625 kB / 0.6494 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009546/0.5419, allocations: 322.5 kB / 0.6497 GB, free: 9.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.5423, allocations: 111.9 kB / 0.6498 GB, free: 9.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.5435, allocations: 0.9425 MB / 0.6507 GB, free: 8.691 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/0.5445, allocations: 159.3 kB / 0.6509 GB, free: 8.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.5446, allocations: 31.98 kB / 0.6509 GB, free: 8.504 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004353/0.545, allocations: 353 kB / 0.6512 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.5451, allocations: 106.7 kB / 0.6513 GB, free: 8.043 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/0.5478, allocations: 1.08 MB / 0.6524 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.5478, allocations: 4 kB / 0.6524 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5478, allocations: 0 / 0.6524 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.5478, allocations: 3.984 kB / 0.6524 GB, free: 6.945 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004335/0.5522, allocations: 2.181 MB / 0.6545 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5522, allocations: 0 / 0.6545 GB, free: 4.68 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.5524, allocations: 60.19 kB / 0.6546 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009089/0.5533, allocations: 324.5 kB / 0.6549 GB, free: 4.301 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.5533, allocations: 12 kB / 0.6549 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.5546, allocations: 0.9819 MB / 0.6559 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5546, allocations: 0 / 0.6559 GB, free: 3.285 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003021/0.5577, allocations: 1.298 MB / 0.6571 GB, free: 1.895 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/0.5581, allocations: 287.4 kB / 0.6574 GB, free: 1.594 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.5582, allocations: 19.94 kB / 0.6574 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.559, allocations: 99.91 kB / 0.6575 GB, free: 1.477 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.5591, allocations: 43.83 kB / 0.6576 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-05/0.5591, allocations: 23.98 kB / 0.6576 GB, free: 1.41 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009693/0.5601, allocations: 0.7469 MB / 0.6583 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5601, allocations: 4 kB / 0.6583 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001398/0.5615, allocations: 0.5691 MB / 0.6589 GB, free: 84 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (33): * Single equations (assignments): 28 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004016/0.5655, allocations: 2.744 MB / 0.6615 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002427/0.568, allocations: 1.043 MB / 0.6626 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.568, allocations: 0 / 0.6626 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006647/0.5687, allocations: 331.2 kB / 0.6629 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.5707, allocations: 493.5 kB / 0.6634 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.5755, allocations: 5.664 MB / 0.6689 GB, free: 5.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.576, allocations: 1.081 MB / 0.6699 GB, free: 4.473 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007454/0.5768, allocations: 216.7 kB / 0.6701 GB, free: 4.258 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/0.5772, allocations: 407.2 kB / 0.6705 GB, free: 3.859 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5772, allocations: 0 / 0.6705 GB, free: 3.859 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.7/3.277, allocations: 33.11 MB / 0.7029 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/3.278, allocations: 262.8 kB / 0.7031 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/6.044, allocations: 0 / 0.7031 GB, free: 2.875 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: