Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_9_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.0009095/0.0009095, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005165/0.005165, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.225/1.225, allocations: 223.3 MB / 240.3 MB, free: 5.348 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 2.03/2.03, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002746/0.0002746, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4987/0.499, allocations: 142.4 MB / 0.9552 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04754/0.5466, allocations: 59.78 MB / 1.014 GB, free: 3.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01314/0.5598, allocations: 11.92 MB / 1.025 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.5612, allocations: 51.69 kB / 1.025 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.5626, allocations: 0.5438 MB / 1.026 GB, free: 6.816 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00392/0.5665, allocations: 1.807 MB / 1.028 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.5687, allocations: 1.094 MB / 1.029 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003612/0.5723, allocations: 3.91 MB / 1.032 GB, free: 0 / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.5736, allocations: 0.911 MB / 1.033 GB, free: 15.05 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.5756, allocations: 1.112 MB / 1.034 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.5769, allocations: 0.8708 MB / 1.035 GB, free: 13.06 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.5771, allocations: 48 kB / 1.035 GB, free: 13.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002238/0.5794, allocations: 1.337 MB / 1.037 GB, free: 11.68 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002183/0.5796, allocations: 210.9 kB / 1.037 GB, free: 11.47 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006035/0.5802, allocations: 0.635 MB / 1.037 GB, free: 10.82 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002185/0.5824, allocations: 2.216 MB / 1.04 GB, free: 8.602 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5824, allocations: 0 / 1.04 GB, free: 8.602 MB / 0.795 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5824, allocations: 0 / 1.04 GB, free: 8.602 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.729e-05/0.5824, allocations: 0 / 1.04 GB, free: 8.602 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.0024/0.5849, allocations: 1.509 MB / 1.041 GB, free: 7.035 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.5849, allocations: 8.031 kB / 1.041 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001372/0.585, allocations: 122.9 kB / 1.041 GB, free: 6.898 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/0.5874, allocations: 0.5181 MB / 1.042 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.5891, allocations: 1.136 MB / 1.043 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003295/0.5894, allocations: 129.9 kB / 1.043 GB, free: 5.059 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.5896, allocations: 80 kB / 1.043 GB, free: 4.98 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.5915, allocations: 1.037 MB / 1.044 GB, free: 3.91 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5915, allocations: 4 kB / 1.044 GB, free: 3.906 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-05/0.5916, allocations: 32 kB / 1.044 GB, free: 3.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.5916, allocations: 20 kB / 1.044 GB, free: 3.855 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.5939, allocations: 1.003 MB / 1.045 GB, free: 2.852 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.005041/0.599, allocations: 4.691 MB / 1.05 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/0.6029, allocations: 1.121 MB / 1.051 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.6039, allocations: 441.9 kB / 1.051 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007966/0.6047, allocations: 1.037 MB / 1.052 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.6048, allocations: 35 kB / 1.052 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=53): time 1.553e-06/0.6048, allocations: 0 / 1.052 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53): time 0.007402/0.6122, allocations: 2.154 MB / 1.054 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.6122, allocations: 55.84 kB / 1.054 GB, free: 8.695 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009907/0.6132, allocations: 0.9396 MB / 1.055 GB, free: 7.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.6133, allocations: 41.7 kB / 1.055 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.6136, allocations: 0.5079 MB / 1.056 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.6137, allocations: 189.3 kB / 1.056 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.6138, allocations: 45.7 kB / 1.056 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.6139, allocations: 326 kB / 1.056 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009743/0.6149, allocations: 388.9 kB / 1.057 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.616, allocations: 0.5381 MB / 1.057 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/0.6179, allocations: 0.8243 MB / 1.058 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.618, allocations: 0 / 1.058 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002663/0.6206, allocations: 1.139 MB / 1.059 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/0.6207, allocations: 164.4 kB / 1.059 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6207, allocations: 4 kB / 1.059 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.6219, allocations: 332.6 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005887/0.6225, allocations: 139.8 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.6238, allocations: 0.941 MB / 1.061 GB, free: 2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/0.6247, allocations: 179.3 kB / 1.061 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.6248, allocations: 27.98 kB / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-06/0.6248, allocations: 4 kB / 1.061 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002492/0.6273, allocations: 1.001 MB / 1.062 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.768e-06/0.6273, allocations: 4 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009713/0.6283, allocations: 328.8 kB / 1.062 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.6289, allocations: 143.8 kB / 1.062 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.6302, allocations: 0.9308 MB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009268/0.6311, allocations: 167.4 kB / 1.063 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.6312, allocations: 31.98 kB / 1.063 GB, free: 15.16 MB / 0.8262 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.0003563/0.6315, allocations: 349 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.6317, allocations: 110.6 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.6346, allocations: 1.218 MB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.6346, allocations: 8 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6346, allocations: 0 / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6346, allocations: 3.984 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.6385, allocations: 2.334 MB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6385, allocations: 4.188 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.639, allocations: 115.8 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009103/0.6399, allocations: 325.7 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.64, allocations: 19.98 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.6413, allocations: 0.9771 MB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6413, allocations: 3.938 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003341/0.6447, allocations: 1.405 MB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.645, allocations: 287.4 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.6451, allocations: 15.98 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008768/0.646, allocations: 127.9 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.6461, allocations: 36.33 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.6461, allocations: 23.98 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007172/0.6469, allocations: 0.6637 MB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6469, allocations: 0 / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001137/0.648, allocations: 0.5729 MB / 1.072 GB, free: 6.395 MB / 0.8262 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.003372/0.6514, allocations: 2.072 MB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003328/0.6547, allocations: 1.393 MB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6547, allocations: 4 kB / 1.075 GB, free: 2.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.6559, allocations: 488.8 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.6582, allocations: 0.4966 MB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.6736, allocations: 9.175 MB / 1.085 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.6741, allocations: 1.078 MB / 1.086 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0008416/0.6749, allocations: 232.5 kB / 1.086 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004807/0.6754, allocations: 423.3 kB / 1.087 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.6754, allocations: 0 / 1.087 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1878/0.8633, allocations: 31.62 MB / 1.118 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.8635, allocations: 284.5 kB / 1.118 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.362, allocations: 0 / 1.118 GB, free: 7.098 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)