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.001936/0.001936, allocations: 100.2 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.002105/0.002105, 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.785/2.785, allocations: 223.2 MB / 239.9 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.896/4.896, allocations: 409.2 MB / 0.6838 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006763/0.0006769, allocations: 8 kB / 0.8375 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524/1.525, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.1013/1.626, allocations: 51.33 MB / 1.031 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.03058/1.657, allocations: 10.31 MB / 1.041 GB, free: 8.477 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00506/1.662, allocations: 47.69 kB / 1.041 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004437/1.667, allocations: 0.6335 MB / 1.042 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0127/1.679, allocations: 1.947 MB / 1.044 GB, free: 5.844 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.009421/1.689, allocations: 1.325 MB / 1.045 GB, free: 4.539 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008918/1.698, allocations: 1.844 MB / 1.047 GB, free: 2.695 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006047/1.704, allocations: 0.8018 MB / 1.048 GB, free: 1.867 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005639/1.71, allocations: 0.9847 MB / 1.048 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/1.713, allocations: 0.5949 MB / 1.049 GB, free: 288 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006997/1.714, allocations: 44 kB / 1.049 GB, free: 244 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006193/1.72, allocations: 1.026 MB / 1.05 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0009572/1.721, allocations: 195.1 kB / 1.05 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001596/1.723, allocations: 285.1 kB / 1.051 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005555/1.728, allocations: 1.602 MB / 1.052 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/1.728, allocations: 0 / 1.052 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.176e-06/1.728, allocations: 4 kB / 1.052 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001032/1.728, allocations: 0 / 1.052 GB, free: 13.12 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.007006/1.735, allocations: 1.489 MB / 1.054 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 8.414e-05/1.736, allocations: 8.031 kB / 1.054 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006976/1.736, allocations: 118.7 kB / 1.054 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/1.74, allocations: 386 kB / 1.054 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004462/1.744, allocations: 1.055 MB / 1.055 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000674/1.745, allocations: 125.9 kB / 1.055 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000346/1.745, allocations: 87.95 kB / 1.055 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/1.749, allocations: 0.9544 MB / 1.056 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/1.749, allocations: 7.938 kB / 1.056 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/1.749, allocations: 32 kB / 1.056 GB, free: 8.707 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.33e-05/1.749, allocations: 20 kB / 1.056 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003697/1.753, allocations: 0.8392 MB / 1.057 GB, free: 7.852 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.013/1.766, allocations: 4.835 MB / 1.062 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/1.769, allocations: 0.6094 MB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002849/1.772, allocations: 1.396 MB / 1.064 GB, free: 352 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.105e-05/1.772, allocations: 38.52 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 7.965e-06/1.772, allocations: 3.938 kB / 1.064 GB, free: 300 kB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.01047/1.782, allocations: 1.666 MB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/1.783, allocations: 59.34 kB / 1.066 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0034/1.786, allocations: 1.071 MB / 1.067 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/1.786, allocations: 37.7 kB / 1.067 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008156/1.787, allocations: 0.5235 MB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/1.787, allocations: 157.8 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/1.787, allocations: 8 kB / 1.067 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000273/1.788, allocations: 322 kB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/1.789, allocations: 284.9 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/1.791, allocations: 497.1 kB / 1.068 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/1.792, allocations: 323.8 kB / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.792, allocations: 0 / 1.069 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00447/1.796, allocations: 0.9725 MB / 1.07 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.001485/1.798, allocations: 1.493 MB / 1.071 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.798, allocations: 4 kB / 1.071 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/1.8, allocations: 332.6 kB / 1.071 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008726/1.801, allocations: 115.8 kB / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/1.804, allocations: 0.9363 MB / 1.072 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/1.806, allocations: 187.2 kB / 1.073 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/1.806, allocations: 31.98 kB / 1.073 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.807, allocations: 4 kB / 1.073 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003864/1.81, allocations: 0.8355 MB / 1.073 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/1.81, allocations: 4.406 kB / 1.073 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/1.812, allocations: 330.3 kB / 1.074 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/1.813, allocations: 115.8 kB / 1.074 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/1.816, allocations: 0.9387 MB / 1.075 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/1.818, allocations: 159.4 kB / 1.075 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/1.818, allocations: 27.98 kB / 1.075 GB, free: 4.59 MB / 0.8262 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.001155/1.819, allocations: 357.6 kB / 1.075 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/1.82, allocations: 106.7 kB / 1.075 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004178/1.824, allocations: 0.9477 MB / 1.076 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/1.824, allocations: 4 kB / 1.076 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/1.824, allocations: 3.984 kB / 1.076 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/1.824, allocations: 4.078 kB / 1.076 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/1.835, allocations: 2.336 MB / 1.079 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.968e-05/1.836, allocations: 0 / 1.079 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004598/1.836, allocations: 76.11 kB / 1.079 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/1.838, allocations: 309.9 kB / 1.079 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.058e-05/1.838, allocations: 19.98 kB / 1.079 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/1.841, allocations: 0.9792 MB / 1.08 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.978e-06/1.841, allocations: 4 kB / 1.08 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007296/1.848, allocations: 1.467 MB / 1.081 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.85, allocations: 283.4 kB / 1.082 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003533/1.85, allocations: 12 kB / 1.082 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.852, allocations: 103.8 kB / 1.082 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/1.852, allocations: 43.84 kB / 1.082 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.011e-05/1.852, allocations: 23.98 kB / 1.082 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002154/1.854, allocations: 0.7469 MB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9.72e-07/1.854, allocations: 0 / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003728/1.858, allocations: 0.5809 MB / 1.083 GB, free: 11.95 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.01008/1.868, allocations: 2.786 MB / 1.086 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005119/1.873, allocations: 1.058 MB / 1.087 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/1.873, allocations: 0 / 1.087 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/1.875, allocations: 330.5 kB / 1.087 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/1.879, allocations: 0.4966 MB / 1.088 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0155/1.895, allocations: 5.502 MB / 1.093 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/1.897, allocations: 1.089 MB / 1.094 GB, free: 444 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002064/1.899, allocations: 220.7 kB / 1.094 GB, free: 220 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.9, allocations: 415.4 kB / 1.095 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of SimCode: time 6.241e-06/1.9, allocations: 0 / 1.095 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.137/2.037, allocations: 33.28 MB / 1.127 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005442/2.038, allocations: 254.8 kB / 1.127 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.375/7.413, allocations: 3.5 kB / 1.127 GB, free: 14.65 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