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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001352/0.001352, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001341/0.001341, allocations: 190.2 kB / 16.25 MB, free: 6.645 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 / 239.9 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 67.89 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4838, allocations: 140.4 MB / 0.9492 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04683/0.5307, allocations: 60.71 MB / 1.009 GB, free: 5.137 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.5433, allocations: 11.9 MB / 1.02 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/0.5446, allocations: 55.62 kB / 1.02 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.546, allocations: 0.5829 MB / 1.021 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.003683/0.5497, allocations: 1.823 MB / 1.023 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.5518, allocations: 1.099 MB / 1.024 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002501/0.5543, allocations: 3.106 MB / 1.027 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.5553, allocations: 1.096 MB / 1.028 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.5572, allocations: 1.331 MB / 1.029 GB, free: 72 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008326/0.558, allocations: 0.9258 MB / 1.03 GB, free: 15.14 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.5582, allocations: 116 kB / 1.03 GB, free: 15.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001782/0.56, allocations: 1.458 MB / 1.031 GB, free: 13.57 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.5602, allocations: 302.8 kB / 1.032 GB, free: 13.27 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004839/0.5607, allocations: 0.6919 MB / 1.032 GB, free: 12.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001939/0.5626, allocations: 2.29 MB / 1.035 GB, free: 10.28 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.5626, allocations: 4 kB / 1.035 GB, free: 10.27 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5626, allocations: 0 / 1.035 GB, free: 10.27 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.5627, allocations: 0 / 1.035 GB, free: 10.27 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.002293/0.565, allocations: 1.712 MB / 1.036 GB, free: 8.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.565, allocations: 8.031 kB / 1.036 GB, free: 8.492 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.5651, allocations: 130.9 kB / 1.036 GB, free: 8.355 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.5671, allocations: 410.5 kB / 1.037 GB, free: 7.953 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.5686, allocations: 1.12 MB / 1.038 GB, free: 6.777 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/0.569, allocations: 117.9 kB / 1.038 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.964e-05/0.5691, allocations: 76 kB / 1.038 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.5707, allocations: 0.9855 MB / 1.039 GB, free: 5.559 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5708, allocations: 8 kB / 1.039 GB, free: 5.551 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.5708, allocations: 28 kB / 1.039 GB, free: 5.523 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.5709, allocations: 20 kB / 1.039 GB, free: 5.504 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.5728, allocations: 0.8625 MB / 1.04 GB, free: 4.637 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.004942/0.5777, allocations: 4.819 MB / 1.045 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.5807, allocations: 0.7997 MB / 1.045 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/0.5814, allocations: 312.6 kB / 1.046 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004823/0.5819, allocations: 0.8986 MB / 1.047 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.5819, allocations: 38.56 kB / 1.047 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 1.443e-06/0.5819, allocations: 0 / 1.047 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.006043/0.5879, allocations: 1.759 MB / 1.048 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.588, allocations: 67.33 kB / 1.048 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.5892, allocations: 1.051 MB / 1.05 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.537e-05/0.5892, allocations: 37.7 kB / 1.05 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000322/0.5895, allocations: 0.5157 MB / 1.05 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.5896, allocations: 157.8 kB / 1.05 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.5898, allocations: 130.1 kB / 1.05 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/0.5899, allocations: 322 kB / 1.051 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/0.5907, allocations: 306.8 kB / 1.051 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008859/0.5916, allocations: 0.5024 MB / 1.051 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.593, allocations: 0.6772 MB / 1.052 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.593, allocations: 4 kB / 1.052 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003001/0.596, allocations: 1.129 MB / 1.053 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.596, allocations: 8 kB / 1.053 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.596, allocations: 4 kB / 1.053 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.5971, allocations: 313.1 kB / 1.053 GB, free: 6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.5976, allocations: 119.8 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.5988, allocations: 0.909 MB / 1.054 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009948/0.5998, allocations: 175.2 kB / 1.055 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.776e-05/0.5999, allocations: 31.98 kB / 1.055 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009512/0.6008, allocations: 0.5048 MB / 1.055 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008605/0.6017, allocations: 0.4943 MB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001357/0.6031, allocations: 0.6758 MB / 1.056 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.296e-06/0.6031, allocations: 0 / 1.056 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002958/0.606, allocations: 1.125 MB / 1.057 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.6061, allocations: 8 kB / 1.057 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.6061, allocations: 4 kB / 1.057 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009248/0.607, allocations: 311 kB / 1.058 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.6075, allocations: 119.8 kB / 1.058 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.6087, allocations: 0.8997 MB / 1.059 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.6097, allocations: 159.4 kB / 1.059 GB, free: 280 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.6098, allocations: 31.98 kB / 1.059 GB, free: 248 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.0001437/0.6099, allocations: 216.1 kB / 1.059 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.6101, allocations: 110.7 kB / 1.059 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.6121, allocations: 0.9337 MB / 1.06 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.6121, allocations: 12 kB / 1.06 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6121, allocations: 0 / 1.06 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6121, allocations: 3.984 kB / 1.06 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00418/0.6163, allocations: 2.155 MB / 1.062 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.6163, allocations: 4 kB / 1.062 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.6166, allocations: 63.89 kB / 1.062 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008427/0.6174, allocations: 306.4 kB / 1.063 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.6174, allocations: 12 kB / 1.063 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.6187, allocations: 0.9441 MB / 1.064 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6187, allocations: 4.031 kB / 1.064 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.6217, allocations: 1.163 MB / 1.065 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002773/0.622, allocations: 267.5 kB / 1.065 GB, free: 9.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.6222, allocations: 12 kB / 1.065 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000773/0.6229, allocations: 95.8 kB / 1.065 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.623, allocations: 35.89 kB / 1.065 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.6231, allocations: 23.98 kB / 1.065 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008765/0.6239, allocations: 0.743 MB / 1.066 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.624, allocations: 0 / 1.066 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001088/0.625, allocations: 0.5574 MB / 1.066 GB, free: 8.395 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.003749/0.6288, allocations: 1.969 MB / 1.068 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00268/0.6315, allocations: 1.118 MB / 1.069 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6315, allocations: 0 / 1.069 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.6323, allocations: 346.5 kB / 1.07 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/0.6342, allocations: 0.5091 MB / 1.07 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.6498, allocations: 8.957 MB / 1.079 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.6503, allocations: 1.061 MB / 1.08 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000728/0.6511, allocations: 216.6 kB / 1.08 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.6515, allocations: 407.3 kB / 1.081 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.6515, allocations: 4 kB / 1.081 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.299/2.951, allocations: 32.67 MB / 1.112 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/2.951, allocations: 263.8 kB / 1.113 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/5.465, allocations: 0 / 1.113 GB, free: 8.738 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)