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.001115/0.001115, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001174/0.001174, allocations: 168.7 kB / 15.95 MB, free: 204 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.414/1.414, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.532/2.532, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.000374, allocations: 12 kB / 0.8378 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8012/0.8016, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.058/0.8596, allocations: 56.53 MB / 1.036 GB, free: 13.6 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01664/0.8763, allocations: 11.23 MB / 1.047 GB, free: 2.344 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.8787, allocations: 55.62 kB / 1.047 GB, free: 2.289 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.8805, allocations: 464.9 kB / 1.048 GB, free: 1.832 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005425/0.886, allocations: 1.531 MB / 1.049 GB, free: 300 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.8891, allocations: 0.8481 MB / 1.05 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005429/0.8946, allocations: 3.385 MB / 1.053 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002196/0.8968, allocations: 0.7938 MB / 1.054 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.8999, allocations: 1.038 MB / 1.055 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002237/0.9022, allocations: 0.7972 MB / 1.056 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003991/0.9026, allocations: 44 kB / 1.056 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/0.9063, allocations: 1.119 MB / 1.057 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.9069, allocations: 199 kB / 1.057 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0009573/0.9078, allocations: 281.1 kB / 1.058 GB, free: 7.758 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.9114, allocations: 1.644 MB / 1.059 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.9114, allocations: 0 / 1.059 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.409e-06/0.9114, allocations: 0 / 1.059 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.538e-05/0.9115, allocations: 0 / 1.059 GB, free: 6.109 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.003977/0.9155, allocations: 1.501 MB / 1.061 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.9156, allocations: 12.03 kB / 1.061 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003702/0.916, allocations: 122.7 kB / 1.061 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.9178, allocations: 394 kB / 1.061 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.9205, allocations: 1.082 MB / 1.062 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003401/0.9208, allocations: 125.9 kB / 1.062 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001765/0.921, allocations: 87.95 kB / 1.062 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.9232, allocations: 0.97 MB / 1.063 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.9233, allocations: 0 / 1.063 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.9234, allocations: 32 kB / 1.063 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/0.9234, allocations: 20 kB / 1.063 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.9256, allocations: 0.8353 MB / 1.064 GB, free: 0.7773 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.007499/0.9331, allocations: 4.801 MB / 1.069 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.9346, allocations: 0.6014 MB / 1.07 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.9352, allocations: 280.7 kB / 1.07 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/0.9367, allocations: 1.404 MB / 1.071 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.9368, allocations: 34.56 kB / 1.071 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=43): time 2.925e-06/0.9368, allocations: 4 kB / 1.071 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43): time 0.006541/0.9433, allocations: 1.829 MB / 1.073 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.9434, allocations: 55.41 kB / 1.073 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/0.9453, allocations: 1.048 MB / 1.074 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.9454, allocations: 37.7 kB / 1.074 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.9459, allocations: 0.5312 MB / 1.075 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.946, allocations: 153.8 kB / 1.075 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.9461, allocations: 12 kB / 1.075 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.9462, allocations: 329.9 kB / 1.075 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007294/0.947, allocations: 284.9 kB / 1.075 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008815/0.9479, allocations: 481.3 kB / 1.076 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.9487, allocations: 327.7 kB / 1.076 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.9487, allocations: 0 / 1.076 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002436/0.9511, allocations: 0.9646 MB / 1.077 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.9513, allocations: 208.4 kB / 1.077 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.9513, allocations: 12 kB / 1.077 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.9526, allocations: 329.9 kB / 1.078 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.9531, allocations: 115.9 kB / 1.078 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.9546, allocations: 0.9355 MB / 1.079 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.9558, allocations: 183.2 kB / 1.079 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.524e-05/0.9559, allocations: 35.98 kB / 1.079 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.956, allocations: 5.094 kB / 1.079 GB, free: 0.9062 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002134/0.9581, allocations: 0.8396 MB / 1.08 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.9581, allocations: 4 kB / 1.08 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.9592, allocations: 328.9 kB / 1.08 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.9596, allocations: 107.8 kB / 1.08 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.961, allocations: 0.9449 MB / 1.081 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.9621, allocations: 153 kB / 1.081 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.9622, allocations: 31.92 kB / 1.081 GB, free: 14.48 MB / 0.8419 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.0005596/0.9628, allocations: 349 kB / 1.081 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.9631, allocations: 114.6 kB / 1.082 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.966, allocations: 1.079 MB / 1.083 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.966, allocations: 4 kB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.966, allocations: 0 / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.966, allocations: 3.984 kB / 1.083 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/0.9709, allocations: 2.165 MB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.971, allocations: 4.281 kB / 1.085 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.9712, allocations: 55.91 kB / 1.085 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009954/0.9722, allocations: 320.6 kB / 1.085 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.9722, allocations: 16 kB / 1.085 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.9737, allocations: 0.9715 MB / 1.086 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.9737, allocations: 3.953 kB / 1.086 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003178/0.9769, allocations: 1.187 MB / 1.087 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.9775, allocations: 283.4 kB / 1.088 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.9778, allocations: 15.95 kB / 1.088 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008616/0.9787, allocations: 95.91 kB / 1.088 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.9788, allocations: 47.83 kB / 1.088 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.406e-05/0.9788, allocations: 19.98 kB / 1.088 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001316/0.9801, allocations: 0.743 MB / 1.088 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9802, allocations: 0 / 1.088 GB, free: 6.82 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001902/0.9821, allocations: 0.5652 MB / 1.089 GB, free: 6.254 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.004179/0.9863, allocations: 2.003 MB / 1.091 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002705/0.989, allocations: 1.058 MB / 1.092 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.989, allocations: 4.125 kB / 1.092 GB, free: 3.145 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/0.9897, allocations: 322.4 kB / 1.092 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/0.9923, allocations: 0.4926 MB / 1.093 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/1.007, allocations: 6.479 MB / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/1.007, allocations: 1.058 MB / 1.1 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001082/1.008, allocations: 224.7 kB / 1.1 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/1.009, allocations: 403.3 kB / 1.101 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of SimCode: time 6.82e-07/1.009, allocations: 0 / 1.101 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06119/1.07, allocations: 33.41 MB / 1.133 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/1.071, allocations: 281.5 kB / 1.134 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.611, allocations: 0 / 1.134 GB, free: 8.594 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