Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.001413/0.001413, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 192 kB / 16.53 MB, free: 6.391 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.178/2.178, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 72.06 kB / 0.8693 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4654/0.4665, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.0466/0.5131, allocations: 61.24 MB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01239/0.5255, allocations: 12 MB / 1.089 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007759/0.5263, allocations: 55.69 kB / 1.089 GB, free: 8.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.5275, allocations: 0.6791 MB / 1.09 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.5305, allocations: 1.978 MB / 1.092 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.5323, allocations: 1.189 MB / 1.093 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002248/0.5346, allocations: 3.084 MB / 1.096 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.5356, allocations: 1.12 MB / 1.097 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.5374, allocations: 1.331 MB / 1.098 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008549/0.5383, allocations: 0.914 MB / 1.099 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.5384, allocations: 120 kB / 1.099 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001819/0.5403, allocations: 1.447 MB / 1.101 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.5405, allocations: 298.8 kB / 1.101 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005346/0.541, allocations: 0.6997 MB / 1.102 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.5431, allocations: 2.294 MB / 1.104 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.5431, allocations: 0 / 1.104 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5431, allocations: 0 / 1.104 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.5431, allocations: 8 kB / 1.104 GB, free: 9.688 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002369/0.5455, allocations: 1.746 MB / 1.105 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.5455, allocations: 8.031 kB / 1.105 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.5457, allocations: 122.9 kB / 1.106 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.5479, allocations: 458.8 kB / 1.106 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.5495, allocations: 1.113 MB / 1.107 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003207/0.5498, allocations: 121.9 kB / 1.107 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5499, allocations: 80 kB / 1.107 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.5517, allocations: 1.01 MB / 1.108 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.5517, allocations: 0 / 1.108 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.5518, allocations: 32 kB / 1.108 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.5518, allocations: 16 kB / 1.108 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.5541, allocations: 0.9446 MB / 1.109 GB, free: 3.898 MB / 0.8575 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.004849/0.5589, allocations: 4.722 MB / 1.114 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003712/0.5626, allocations: 1 MB / 1.115 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009728/0.5636, allocations: 417.8 kB / 1.115 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007708/0.5644, allocations: 1.017 MB / 1.116 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.5644, allocations: 43 kB / 1.116 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 1.543e-06/0.5645, allocations: 0 / 1.116 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53): time 0.006913/0.5714, allocations: 1.943 MB / 1.118 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.5714, allocations: 59.84 kB / 1.118 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009419/0.5724, allocations: 0.9513 MB / 1.119 GB, free: 9.102 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.5724, allocations: 37.7 kB / 1.119 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.5727, allocations: 0.508 MB / 1.12 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.5729, allocations: 189.2 kB / 1.12 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.5731, allocations: 126.1 kB / 1.12 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.5732, allocations: 330 kB / 1.12 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000947/0.5741, allocations: 358.8 kB / 1.121 GB, free: 7.547 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.5752, allocations: 0.5108 MB / 1.121 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001869/0.577, allocations: 0.758 MB / 1.122 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5771, allocations: 0 / 1.122 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002591/0.5797, allocations: 1.064 MB / 1.123 GB, free: 5.105 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.5797, allocations: 12.25 kB / 1.123 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5797, allocations: 4 kB / 1.123 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.5808, allocations: 306.1 kB / 1.123 GB, free: 4.789 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.5814, allocations: 135.8 kB / 1.123 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.5827, allocations: 0.9113 MB / 1.124 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008013/0.5835, allocations: 119.3 kB / 1.124 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.5836, allocations: 31.92 kB / 1.124 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001186/0.5848, allocations: 0.5606 MB / 1.125 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001073/0.5859, allocations: 0.5108 MB / 1.125 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001952/0.5878, allocations: 0.754 MB / 1.126 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.5878, allocations: 3.938 kB / 1.126 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002637/0.5905, allocations: 1.06 MB / 1.127 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.5905, allocations: 4 kB / 1.127 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.5905, allocations: 4.312 kB / 1.127 GB, free: 0.5664 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000967/0.5915, allocations: 309.6 kB / 1.128 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/0.5921, allocations: 123.8 kB / 1.128 GB, free: 144 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.5933, allocations: 0.912 MB / 1.129 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007977/0.5941, allocations: 115.5 kB / 1.129 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.5942, allocations: 31.97 kB / 1.129 GB, free: 15.06 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.0001506/0.5944, allocations: 216.1 kB / 1.129 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.5945, allocations: 110.6 kB / 1.129 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.5974, allocations: 1.151 MB / 1.13 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.5974, allocations: 8 kB / 1.13 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5974, allocations: 0 / 1.13 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5974, allocations: 3.984 kB / 1.13 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.6012, allocations: 2.26 MB / 1.132 GB, free: 11.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6012, allocations: 4 kB / 1.132 GB, free: 11.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.6017, allocations: 108 kB / 1.132 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000881/0.6026, allocations: 302 kB / 1.133 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.6027, allocations: 15.98 kB / 1.133 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.604, allocations: 0.9425 MB / 1.134 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.604, allocations: 0 / 1.134 GB, free: 9.828 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003273/0.6073, allocations: 1.323 MB / 1.135 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000305/0.6076, allocations: 275.5 kB / 1.135 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.6077, allocations: 12 kB / 1.135 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007692/0.6085, allocations: 79.91 kB / 1.135 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.6086, allocations: 44.27 kB / 1.135 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.6086, allocations: 23.98 kB / 1.135 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007015/0.6093, allocations: 0.6715 MB / 1.136 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6093, allocations: 0 / 1.136 GB, free: 7.34 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001062/0.6104, allocations: 0.573 MB / 1.137 GB, free: 6.766 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003355/0.6138, allocations: 2.012 MB / 1.139 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003433/0.6172, allocations: 1.338 MB / 1.14 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6172, allocations: 0 / 1.14 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.6183, allocations: 464.8 kB / 1.14 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.6202, allocations: 0.4909 MB / 1.141 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.6334, allocations: 8.574 MB / 1.149 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.634, allocations: 1.074 MB / 1.15 GB, free: 8.395 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008149/0.6348, allocations: 231.3 kB / 1.15 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.6353, allocations: 419.3 kB / 1.151 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.6353, allocations: 0 / 1.151 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.677/8.313, allocations: 32.98 MB / 1.183 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.84/26.15, allocations: 4.062 kB / 1.183 GB, free: 7.219 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)