Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Examples.Carnot_TEva,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_TEva",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.001802/0.001806, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001823/0.001823, allocations: 196.9 kB / 16.14 MB, free: 6.715 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.152/1.152, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.993/1.993, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.89 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4569, allocations: 140.4 MB / 0.949 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04664/0.5036, allocations: 60.85 MB / 1.008 GB, free: 5.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.5168, allocations: 12.07 MB / 1.02 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008816/0.5177, allocations: 55.62 kB / 1.02 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.5189, allocations: 0.5477 MB / 1.021 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.002946/0.5219, allocations: 1.808 MB / 1.023 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.5238, allocations: 1.07 MB / 1.024 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002894/0.5267, allocations: 3.894 MB / 1.027 GB, free: 1.637 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009248/0.5276, allocations: 0.9157 MB / 1.028 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.5291, allocations: 1.159 MB / 1.029 GB, free: 15.53 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008336/0.5299, allocations: 0.8983 MB / 1.03 GB, free: 14.62 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.53, allocations: 56 kB / 1.03 GB, free: 14.57 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.5318, allocations: 1.349 MB / 1.032 GB, free: 13.22 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.532, allocations: 234.9 kB / 1.032 GB, free: 12.99 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0005069/0.5325, allocations: 0.6333 MB / 1.033 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001959/0.5345, allocations: 2.24 MB / 1.035 GB, free: 10.11 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.5345, allocations: 0 / 1.035 GB, free: 10.11 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5345, allocations: 4 kB / 1.035 GB, free: 10.1 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.5345, allocations: 0 / 1.035 GB, free: 10.1 MB / 0.795 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.002365/0.5369, allocations: 1.723 MB / 1.036 GB, free: 8.316 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.537, allocations: 12.03 kB / 1.036 GB, free: 8.305 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.5371, allocations: 122.9 kB / 1.037 GB, free: 8.176 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.539, allocations: 414.5 kB / 1.037 GB, free: 7.77 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.5406, allocations: 1.12 MB / 1.038 GB, free: 6.594 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003061/0.541, allocations: 121.9 kB / 1.038 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.687e-05/0.5411, allocations: 80 kB / 1.038 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.5427, allocations: 0.9778 MB / 1.039 GB, free: 5.375 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5428, allocations: 3.938 kB / 1.039 GB, free: 5.371 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/0.5428, allocations: 32 kB / 1.039 GB, free: 5.34 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.5429, allocations: 24 kB / 1.039 GB, free: 5.316 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.5449, allocations: 0.8547 MB / 1.04 GB, free: 4.457 MB / 0.795 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.005136/0.55, allocations: 4.831 MB / 1.045 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.553, allocations: 0.8047 MB / 1.046 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006321/0.5536, allocations: 304.6 kB / 1.046 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/0.5542, allocations: 0.9025 MB / 1.047 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.5542, allocations: 38.56 kB / 1.047 GB, free: 13 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 1.333e-06/0.5542, allocations: 0 / 1.047 GB, free: 13 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.006305/0.5605, allocations: 1.755 MB / 1.049 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.5606, allocations: 59.34 kB / 1.049 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.5618, allocations: 1.051 MB / 1.05 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.5618, allocations: 37.7 kB / 1.05 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.5622, allocations: 0.5157 MB / 1.05 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.5623, allocations: 157.8 kB / 1.05 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.5625, allocations: 126.1 kB / 1.05 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.5626, allocations: 326 kB / 1.051 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008124/0.5634, allocations: 302.9 kB / 1.051 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/0.5644, allocations: 0.5023 MB / 1.051 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.5658, allocations: 0.685 MB / 1.052 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5659, allocations: 0 / 1.052 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003182/0.569, allocations: 1.133 MB / 1.053 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.5691, allocations: 4 kB / 1.053 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5691, allocations: 4 kB / 1.053 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.5702, allocations: 324.7 kB / 1.054 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.5706, allocations: 111.9 kB / 1.054 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.572, allocations: 0.917 MB / 1.055 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.573, allocations: 179.2 kB / 1.055 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.5731, allocations: 24 kB / 1.055 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001/0.5741, allocations: 0.5088 MB / 1.055 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009016/0.575, allocations: 0.4942 MB / 1.056 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001405/0.5764, allocations: 0.668 MB / 1.056 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.417e-06/0.5764, allocations: 4 kB / 1.056 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002992/0.5794, allocations: 1.11 MB / 1.058 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.5794, allocations: 9.562 kB / 1.058 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5795, allocations: 4 kB / 1.058 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009659/0.5804, allocations: 316.7 kB / 1.058 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.5809, allocations: 123.8 kB / 1.058 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.5822, allocations: 0.901 MB / 1.059 GB, free: 252 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.5832, allocations: 161.3 kB / 1.059 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.5833, allocations: 35.98 kB / 1.059 GB, free: 56 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (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.0002296/0.5835, allocations: 216.1 kB / 1.059 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.5838, allocations: 110.7 kB / 1.059 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002794/0.5866, allocations: 0.9338 MB / 1.06 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.5866, allocations: 8 kB / 1.06 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5866, allocations: 4 kB / 1.06 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.5866, allocations: 3.984 kB / 1.06 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/0.591, allocations: 2.151 MB / 1.062 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.591, allocations: 0 / 1.062 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.5913, allocations: 67.89 kB / 1.062 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000923/0.5922, allocations: 300.9 kB / 1.063 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.5923, allocations: 11.98 kB / 1.063 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.5936, allocations: 0.9475 MB / 1.064 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.5936, allocations: 4.031 kB / 1.064 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/0.5968, allocations: 1.159 MB / 1.065 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.5971, allocations: 263.5 kB / 1.065 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.5972, allocations: 15.98 kB / 1.065 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008073/0.5981, allocations: 95.8 kB / 1.065 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.5981, allocations: 39.83 kB / 1.065 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/0.5982, allocations: 23.98 kB / 1.065 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009798/0.5992, allocations: 0.743 MB / 1.066 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5992, allocations: 0 / 1.066 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001248/0.6004, allocations: 0.5574 MB / 1.066 GB, free: 8.211 MB / 0.8262 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.004094/0.6045, allocations: 1.965 MB / 1.068 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002785/0.6073, allocations: 1.094 MB / 1.069 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6074, allocations: 7.938 kB / 1.069 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.6081, allocations: 342.3 kB / 1.07 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.6102, allocations: 0.4963 MB / 1.07 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/0.6268, allocations: 8.952 MB / 1.079 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.6274, allocations: 1.069 MB / 1.08 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007586/0.6281, allocations: 212.7 kB / 1.08 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004711/0.6286, allocations: 407.3 kB / 1.081 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.6286, allocations: 0 / 1.081 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.758/1.387, allocations: 31.88 MB / 1.112 GB, free: 9.707 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003569/1.387, allocations: 259.8 kB / 1.112 GB, free: 9.355 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/4.166, allocations: 0 / 1.112 GB, free: 9.355 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)