Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_latest_Buildings_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.001732/0.001732, allocations: 99.55 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.001822/0.001822, 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 2.745/2.745, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.942/4.942, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008167/0.0008168, allocations: 12 kB / 0.8375 GB, free: 6.598 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501/1.502, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.09733/1.599, allocations: 51.34 MB / 1.031 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.027/1.627, allocations: 10.31 MB / 1.041 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004571/1.631, allocations: 47.62 kB / 1.041 GB, free: 8.453 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00456/1.636, allocations: 0.6296 MB / 1.042 GB, free: 7.82 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0134/1.649, allocations: 1.951 MB / 1.044 GB, free: 5.867 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.008231/1.658, allocations: 1.306 MB / 1.045 GB, free: 4.582 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007964/1.666, allocations: 1.851 MB / 1.047 GB, free: 2.73 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/1.668, allocations: 0.8057 MB / 1.047 GB, free: 1.898 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006021/1.675, allocations: 0.9847 MB / 1.048 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/1.678, allocations: 0.5949 MB / 1.049 GB, free: 320 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005155/1.678, allocations: 44 kB / 1.049 GB, free: 276 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006467/1.685, allocations: 1.01 MB / 1.05 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008232/1.686, allocations: 187.2 kB / 1.05 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/1.687, allocations: 285 kB / 1.051 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005708/1.693, allocations: 1.594 MB / 1.052 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.693, allocations: 4 kB / 1.052 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.909e-06/1.693, allocations: 0 / 1.052 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.302e-05/1.693, allocations: 0 / 1.052 GB, free: 13.19 MB / 0.8106 GB 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.006259/1.699, allocations: 1.485 MB / 1.054 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.651e-05/1.699, allocations: 8.031 kB / 1.054 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005322/1.7, allocations: 122.7 kB / 1.054 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/1.703, allocations: 386 kB / 1.054 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004387/1.707, allocations: 1.043 MB / 1.055 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000673/1.708, allocations: 125.9 kB / 1.055 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/1.709, allocations: 95.83 kB / 1.055 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/1.712, allocations: 0.9544 MB / 1.056 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/1.712, allocations: 4 kB / 1.056 GB, free: 8.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/1.713, allocations: 32 kB / 1.056 GB, free: 8.777 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/1.713, allocations: 19.94 kB / 1.056 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003855/1.717, allocations: 0.8431 MB / 1.057 GB, free: 7.918 MB / 0.8106 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.01337/1.73, allocations: 4.827 MB / 1.062 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/1.733, allocations: 0.6093 MB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002597/1.736, allocations: 1.388 MB / 1.064 GB, free: 436 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/1.736, allocations: 42.45 kB / 1.064 GB, free: 384 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 4.879e-06/1.736, allocations: 0 / 1.064 GB, free: 384 kB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.01151/1.747, allocations: 1.837 MB / 1.066 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/1.747, allocations: 55.41 kB / 1.066 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002905/1.75, allocations: 1.063 MB / 1.067 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003147/1.751, allocations: 41.64 kB / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008667/1.752, allocations: 0.5235 MB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/1.752, allocations: 153.8 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/1.752, allocations: 8 kB / 1.067 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002543/1.752, allocations: 333.9 kB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/1.754, allocations: 277 kB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/1.755, allocations: 489.2 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/1.756, allocations: 323.8 kB / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.756, allocations: 0 / 1.069 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004541/1.761, allocations: 0.9766 MB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.001298/1.762, allocations: 1.576 MB / 1.071 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/1.762, allocations: 4 kB / 1.071 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/1.765, allocations: 333.6 kB / 1.072 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008997/1.766, allocations: 123.8 kB / 1.072 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/1.769, allocations: 0.9323 MB / 1.073 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/1.771, allocations: 183.2 kB / 1.073 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/1.772, allocations: 27.98 kB / 1.073 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/1.772, allocations: 5.25 kB / 1.073 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004088/1.776, allocations: 0.8398 MB / 1.074 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/1.776, allocations: 4 kB / 1.074 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/1.778, allocations: 322.2 kB / 1.074 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007614/1.779, allocations: 123.8 kB / 1.074 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/1.781, allocations: 0.9386 MB / 1.075 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/1.783, allocations: 160.9 kB / 1.075 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.784, allocations: 27.98 kB / 1.075 GB, free: 4.418 MB / 0.8262 GB 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.001306/1.785, allocations: 349 kB / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000539/1.786, allocations: 114.5 kB / 1.076 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005262/1.791, allocations: 1.079 MB / 1.077 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/1.791, allocations: 7.953 kB / 1.077 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/1.791, allocations: 0 / 1.077 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.791, allocations: 0 / 1.077 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00941/1.8, allocations: 2.185 MB / 1.079 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.8, allocations: 3.938 kB / 1.079 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/1.801, allocations: 60.19 kB / 1.079 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/1.803, allocations: 320.6 kB / 1.079 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-05/1.803, allocations: 15.98 kB / 1.079 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002731/1.806, allocations: 0.9714 MB / 1.08 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/1.806, allocations: 0 / 1.08 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006118/1.812, allocations: 1.298 MB / 1.081 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001589/1.813, allocations: 287.4 kB / 1.082 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003651/1.814, allocations: 16 kB / 1.082 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.815, allocations: 107.8 kB / 1.082 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.815, allocations: 43.84 kB / 1.082 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.815, allocations: 23.98 kB / 1.082 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002001/1.818, allocations: 0.743 MB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.2e-07/1.818, allocations: 4 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002987/1.821, allocations: 0.5575 MB / 1.083 GB, free: 12.01 MB / 0.8419 GB 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.009554/1.83, allocations: 2.751 MB / 1.086 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005803/1.836, allocations: 1.054 MB / 1.087 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/1.836, allocations: 4 kB / 1.087 GB, free: 8.121 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.838, allocations: 330.5 kB / 1.087 GB, free: 7.797 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00503/1.843, allocations: 0.4932 MB / 1.088 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/1.855, allocations: 5.653 MB / 1.093 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.856, allocations: 1.085 MB / 1.094 GB, free: 384 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001641/1.858, allocations: 211.6 kB / 1.094 GB, free: 172 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007165/1.858, allocations: 407.4 kB / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of SimCode: time 2.034e-06/1.858, allocations: 0 / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1434/2.002, allocations: 33.13 MB / 1.127 GB, free: 15.16 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005509/2.002, allocations: 277.7 kB / 1.127 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.39/7.393, allocations: 0 / 1.127 GB, free: 14.79 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat does not exist to compare? outputFormat=mat