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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004832/0.004832, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.001713/0.001713, allocations: 201.1 kB / 16.68 MB, free: 5.969 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.529/2.529, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 71.88 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2566, allocations: 162.3 MB / 1.242 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.5037/0.7604, allocations: 61.31 MB / 1.302 GB, free: 7.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.7749, allocations: 11.99 MB / 1.313 GB, free: 14.88 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.7761, allocations: 59.91 kB / 1.314 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.7775, allocations: 0.6883 MB / 1.314 GB, free: 14.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.781, allocations: 1.949 MB / 1.316 GB, free: 13.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.7834, allocations: 1.218 MB / 1.317 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00286/0.7863, allocations: 3.07 MB / 1.32 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.7875, allocations: 1.098 MB / 1.321 GB, free: 10.51 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002464/0.79, allocations: 1.439 MB / 1.323 GB, free: 9.789 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.791, allocations: 0.8846 MB / 1.324 GB, free: 9.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.7911, allocations: 115.8 kB / 1.324 GB, free: 9.375 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.7934, allocations: 1.453 MB / 1.325 GB, free: 8.887 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.7937, allocations: 289.5 kB / 1.325 GB, free: 8.699 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006119/0.7943, allocations: 0.6932 MB / 1.326 GB, free: 8.266 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002596/0.7969, allocations: 2.318 MB / 1.328 GB, free: 7.387 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.7969, allocations: 0 / 1.328 GB, free: 7.387 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.797, allocations: 1 kB / 1.328 GB, free: 7.387 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.797, allocations: 0 / 1.328 GB, free: 7.387 MB / 1.045 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.002536/0.7995, allocations: 1.778 MB / 1.33 GB, free: 6.152 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.7995, allocations: 10.66 kB / 1.33 GB, free: 6.152 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.7997, allocations: 125.2 kB / 1.33 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.8011, allocations: 348.9 kB / 1.331 GB, free: 5.977 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.803, allocations: 1.168 MB / 1.332 GB, free: 5.258 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.803, allocations: 60.56 kB / 1.332 GB, free: 5.234 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.8031, allocations: 83.81 kB / 1.332 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.8048, allocations: 0.9713 MB / 1.333 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.8048, allocations: 0 / 1.333 GB, free: 4.719 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.04e-05/0.8049, allocations: 32.91 kB / 1.333 GB, free: 4.695 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.8049, allocations: 23.25 kB / 1.333 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.8067, allocations: 0.7951 MB / 1.334 GB, free: 4.426 MB / 1.045 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.005421/0.8121, allocations: 5.158 MB / 1.339 GB, free: 384 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.8134, allocations: 0.5665 MB / 1.339 GB, free: 168 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.814, allocations: 263.1 kB / 1.339 GB, free: 80 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.8153, allocations: 1.364 MB / 1.341 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.8153, allocations: 42.84 kB / 1.341 GB, free: 14.52 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 1.383e-06/0.8153, allocations: 0 / 1.341 GB, free: 14.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=43): time 0.005734/0.821, allocations: 1.617 MB / 1.342 GB, free: 14.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.8211, allocations: 62.27 kB / 1.342 GB, free: 13.98 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.8224, allocations: 1.078 MB / 1.344 GB, free: 13.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.8225, allocations: 38.2 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.8229, allocations: 0.5395 MB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.823, allocations: 158.3 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.8232, allocations: 131.8 kB / 1.344 GB, free: 12.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8234, allocations: 334.2 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006893/0.8241, allocations: 274.9 kB / 1.345 GB, free: 12.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/0.8249, allocations: 0.4957 MB / 1.345 GB, free: 12.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.8263, allocations: 0.6605 MB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.8263, allocations: 5.125 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002105/0.8284, allocations: 0.9554 MB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.8284, allocations: 12.05 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.8284, allocations: 5.781 kB / 1.347 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.8295, allocations: 308.9 kB / 1.347 GB, free: 11.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.8299, allocations: 123 kB / 1.347 GB, free: 11.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.8311, allocations: 0.9014 MB / 1.348 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/0.832, allocations: 150 kB / 1.348 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.258e-05/0.8321, allocations: 33.55 kB / 1.349 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008784/0.833, allocations: 488.6 kB / 1.349 GB, free: 10.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008225/0.8338, allocations: 499.8 kB / 1.349 GB, free: 9.953 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001274/0.8351, allocations: 0.6585 MB / 1.35 GB, free: 9.562 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.915e-06/0.8351, allocations: 1.281 kB / 1.35 GB, free: 9.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00206/0.8372, allocations: 0.9518 MB / 1.351 GB, free: 9.199 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/0.8372, allocations: 6.922 kB / 1.351 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8372, allocations: 5.562 kB / 1.351 GB, free: 9.199 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009094/0.8381, allocations: 301.3 kB / 1.351 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/0.8385, allocations: 116.6 kB / 1.351 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.8398, allocations: 0.8959 MB / 1.352 GB, free: 8.348 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00086/0.8406, allocations: 124.6 kB / 1.352 GB, free: 8.285 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.8407, allocations: 34.83 kB / 1.352 GB, free: 8.273 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001678/0.8409, allocations: 216.8 kB / 1.353 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.841, allocations: 115.5 kB / 1.353 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.8435, allocations: 0.9955 MB / 1.354 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.8436, allocations: 12.58 kB / 1.354 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8436, allocations: 1.156 kB / 1.354 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.8436, allocations: 0 / 1.354 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/0.8477, allocations: 2.074 MB / 1.356 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.8477, allocations: 2.594 kB / 1.356 GB, free: 6.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.8479, allocations: 53.03 kB / 1.356 GB, free: 6.008 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/0.8487, allocations: 299.2 kB / 1.356 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.8488, allocations: 26.39 kB / 1.356 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/0.85, allocations: 0.9211 MB / 1.357 GB, free: 5.113 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.85, allocations: 7.219 kB / 1.357 GB, free: 5.109 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/0.8529, allocations: 1.097 MB / 1.358 GB, free: 4.438 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.8533, allocations: 264.1 kB / 1.358 GB, free: 4.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.8534, allocations: 11.78 kB / 1.358 GB, free: 4.195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.854, allocations: 66.98 kB / 1.358 GB, free: 4.164 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.226e-05/0.8541, allocations: 42.39 kB / 1.359 GB, free: 4.137 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.8542, allocations: 28.02 kB / 1.359 GB, free: 4.125 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009762/0.8551, allocations: 0.7564 MB / 1.359 GB, free: 3.695 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8552, allocations: 0 / 1.359 GB, free: 3.695 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001239/0.8564, allocations: 0.5806 MB / 1.36 GB, free: 3.566 MB / 1.061 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003786/0.8602, allocations: 1.93 MB / 1.362 GB, free: 2.234 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.8625, allocations: 1.029 MB / 1.363 GB, free: 1.773 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.8625, allocations: 5.156 kB / 1.363 GB, free: 1.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.8632, allocations: 310.6 kB / 1.363 GB, free: 1.637 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.8651, allocations: 0.5055 MB / 1.364 GB, free: 1.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.8774, allocations: 8.076 MB / 1.371 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/0.878, allocations: 1.06 MB / 1.372 GB, free: 11.48 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006484/0.8786, allocations: 226.4 kB / 1.373 GB, free: 11.37 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.8791, allocations: 416.6 kB / 1.373 GB, free: 11.02 MB / 1.076 GB Notification: Performance of SimCode: time 2.3e-07/0.8791, allocations: 0 / 1.373 GB, free: 11.02 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.392/3.271, allocations: 33.76 MB / 1.406 GB, free: 14.09 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.27/27.54, allocations: 0.625 kB / 1.406 GB, free: 14.09 MB / 1.107 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/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=400 --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)