Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.0007819/0.0007818, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0007991/0.0007991, allocations: 172.7 kB / 15.95 MB, free: 208 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.37/1.37, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.558/2.558, allocations: 409.4 MB / 0.684 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 8 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7592/0.7595, allocations: 146.8 MB / 0.9811 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05239/0.812, allocations: 56.54 MB / 1.036 GB, free: 13.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01585/0.8279, allocations: 11.23 MB / 1.047 GB, free: 2.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.8304, allocations: 47.69 kB / 1.047 GB, free: 2.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.8321, allocations: 472.8 kB / 1.048 GB, free: 1.828 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.005999/0.8382, allocations: 1.523 MB / 1.049 GB, free: 304 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003085/0.8413, allocations: 0.8532 MB / 1.05 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005568/0.8468, allocations: 3.394 MB / 1.053 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.8486, allocations: 0.7899 MB / 1.054 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002875/0.8515, allocations: 1.038 MB / 1.055 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.8532, allocations: 0.7971 MB / 1.056 GB, free: 9.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/0.8535, allocations: 44 kB / 1.056 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.8564, allocations: 1.13 MB / 1.057 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.8568, allocations: 199 kB / 1.057 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005859/0.8574, allocations: 289 kB / 1.058 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.002462/0.8599, allocations: 1.645 MB / 1.059 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8599, allocations: 3.938 kB / 1.059 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8599, allocations: 0 / 1.059 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.425e-05/0.8599, allocations: 0 / 1.059 GB, free: 6.078 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.003019/0.863, allocations: 1.516 MB / 1.061 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.863, allocations: 8.031 kB / 1.061 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002276/0.8633, allocations: 122.7 kB / 1.061 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.8649, allocations: 382 kB / 1.061 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.8672, allocations: 1.086 MB / 1.062 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.8676, allocations: 125.9 kB / 1.062 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.8677, allocations: 91.89 kB / 1.062 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.8697, allocations: 0.9661 MB / 1.063 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.8697, allocations: 7.938 kB / 1.063 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.731e-05/0.8698, allocations: 32 kB / 1.063 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.8698, allocations: 16 kB / 1.063 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.8719, allocations: 0.8392 MB / 1.064 GB, free: 0.7344 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.006654/0.8786, allocations: 4.807 MB / 1.069 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.8801, allocations: 0.6094 MB / 1.07 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.8807, allocations: 280.6 kB / 1.07 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001305/0.882, allocations: 1.4 MB / 1.071 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.882, allocations: 46.5 kB / 1.071 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=44): time 2.485e-06/0.882, allocations: 0 / 1.071 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=44): time 0.005474/0.8875, allocations: 1.669 MB / 1.073 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.8876, allocations: 59.34 kB / 1.073 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.8892, allocations: 1.051 MB / 1.074 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.8893, allocations: 37.7 kB / 1.074 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.8897, allocations: 0.5118 MB / 1.074 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.8899, allocations: 161.7 kB / 1.075 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.8899, allocations: 12 kB / 1.075 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.89, allocations: 326 kB / 1.075 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.8907, allocations: 284.9 kB / 1.075 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008587/0.8916, allocations: 489.2 kB / 1.076 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/0.8924, allocations: 319.8 kB / 1.076 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.8924, allocations: 4 kB / 1.076 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002325/0.8947, allocations: 0.9727 MB / 1.077 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.8948, allocations: 195.3 kB / 1.077 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.8949, allocations: 4 kB / 1.077 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.8961, allocations: 330.1 kB / 1.077 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.8966, allocations: 123.8 kB / 1.078 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.8981, allocations: 0.9434 MB / 1.079 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.8993, allocations: 179.3 kB / 1.079 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.8994, allocations: 31.98 kB / 1.079 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.8994, allocations: 0.9375 kB / 1.079 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002068/0.9015, allocations: 0.8395 MB / 1.08 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.9015, allocations: 4 kB / 1.08 GB, free: 180 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.9026, allocations: 335 kB / 1.08 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.9031, allocations: 111.9 kB / 1.08 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.9045, allocations: 0.9425 MB / 1.081 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.9056, allocations: 159.3 kB / 1.081 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.9057, allocations: 24 kB / 1.081 GB, free: 14.59 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.00056/0.9062, allocations: 349 kB / 1.081 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.9065, allocations: 110.7 kB / 1.081 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.9088, allocations: 0.9475 MB / 1.082 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.9088, allocations: 11.98 kB / 1.082 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9088, allocations: 0 / 1.082 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.9088, allocations: 0 / 1.082 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005767/0.9146, allocations: 2.32 MB / 1.085 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.9146, allocations: 4 kB / 1.085 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.9149, allocations: 55.91 kB / 1.085 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.9159, allocations: 336.7 kB / 1.085 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.916, allocations: 15.95 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.9173, allocations: 0.9718 MB / 1.086 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.9173, allocations: 4.031 kB / 1.086 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003909/0.9213, allocations: 1.361 MB / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/0.9219, allocations: 283.4 kB / 1.088 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/0.9221, allocations: 12 kB / 1.088 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009877/0.9231, allocations: 103.8 kB / 1.088 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.9233, allocations: 35.89 kB / 1.088 GB, free: 7.492 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.9233, allocations: 23.98 kB / 1.088 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001255/0.9246, allocations: 0.743 MB / 1.089 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9246, allocations: 0 / 1.089 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001557/0.9262, allocations: 0.5692 MB / 1.089 GB, free: 6.148 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 (34): * Single equations (assignments): 29 * 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.004136/0.9303, allocations: 2.056 MB / 1.091 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002687/0.933, allocations: 1.058 MB / 1.092 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.9331, allocations: 0 / 1.092 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008352/0.9339, allocations: 338.4 kB / 1.092 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003655/0.9376, allocations: 0.5016 MB / 1.093 GB, free: 2.16 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01365/0.9512, allocations: 6.491 MB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.9519, allocations: 1.061 MB / 1.1 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0009739/0.9529, allocations: 220.7 kB / 1.101 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.9534, allocations: 407.3 kB / 1.101 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of SimCode: time 5.71e-07/0.9534, allocations: 3.938 kB / 1.101 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05819/1.012, allocations: 33.57 MB / 1.134 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/1.012, allocations: 262 kB / 1.134 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.712, allocations: 0 / 1.134 GB, free: 8.18 MB / 0.8887 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat does not exist to compare? outputFormat=mat