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.0009262/0.0009262, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.007501/0.007501, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.281/2.281, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003854, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.071, allocations: 142.4 MB / 0.9552 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.08572/1.157, allocations: 59.75 MB / 1.014 GB, free: 3.387 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02518/1.182, allocations: 11.92 MB / 1.025 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004342/1.186, allocations: 47.69 kB / 1.025 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002693/1.189, allocations: 0.5555 MB / 1.026 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008791/1.198, allocations: 1.8 MB / 1.027 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004754/1.203, allocations: 1.086 MB / 1.029 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008543/1.211, allocations: 3.894 MB / 1.032 GB, free: 44 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/1.214, allocations: 0.9019 MB / 1.033 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004836/1.219, allocations: 1.124 MB / 1.034 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003014/1.222, allocations: 0.8436 MB / 1.035 GB, free: 13.13 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005697/1.223, allocations: 40 kB / 1.035 GB, free: 13.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005306/1.228, allocations: 1.333 MB / 1.037 GB, free: 11.76 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008297/1.229, allocations: 222.9 kB / 1.037 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002542/1.231, allocations: 0.6272 MB / 1.037 GB, free: 10.9 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00743/1.239, allocations: 2.188 MB / 1.039 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.567e-05/1.239, allocations: 0 / 1.039 GB, free: 8.707 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.178e-06/1.239, allocations: 0 / 1.039 GB, free: 8.707 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.000103/1.239, allocations: 0 / 1.039 GB, free: 8.707 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.005807/1.245, allocations: 1.493 MB / 1.041 GB, free: 7.156 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 8.11e-05/1.245, allocations: 8.031 kB / 1.041 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005439/1.246, allocations: 122.9 kB / 1.041 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002953/1.249, allocations: 478.6 kB / 1.042 GB, free: 6.551 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003272/1.252, allocations: 1.124 MB / 1.043 GB, free: 5.367 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003815/1.252, allocations: 129.9 kB / 1.043 GB, free: 5.242 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/1.252, allocations: 80 kB / 1.043 GB, free: 5.164 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/1.255, allocations: 0.9973 MB / 1.044 GB, free: 4.121 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.255, allocations: 3.938 kB / 1.044 GB, free: 4.117 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/1.255, allocations: 36 kB / 1.044 GB, free: 4.082 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/1.255, allocations: 23.98 kB / 1.044 GB, free: 4.059 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/1.257, allocations: 0.9094 MB / 1.045 GB, free: 3.148 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.007328/1.265, allocations: 4.882 MB / 1.049 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/1.268, allocations: 0.9023 MB / 1.05 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/1.269, allocations: 316.7 kB / 1.051 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000826/1.27, allocations: 0.9025 MB / 1.052 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.663e-05/1.27, allocations: 46.48 kB / 1.052 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/1.27, allocations: 0 / 1.052 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.007946/1.278, allocations: 1.947 MB / 1.054 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/1.278, allocations: 63.34 kB / 1.054 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/1.28, allocations: 1.055 MB / 1.055 GB, free: 8.402 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.405e-05/1.28, allocations: 33.7 kB / 1.055 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/1.28, allocations: 0.5274 MB / 1.055 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/1.281, allocations: 157.8 kB / 1.055 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/1.281, allocations: 53.62 kB / 1.055 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.281, allocations: 326 kB / 1.056 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/1.282, allocations: 320.9 kB / 1.056 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/1.283, allocations: 0.532 MB / 1.056 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/1.285, allocations: 0.7318 MB / 1.057 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.285, allocations: 0 / 1.057 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003831/1.289, allocations: 1.208 MB / 1.058 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001955/1.289, allocations: 221.5 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.289, allocations: 8 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/1.29, allocations: 328.7 kB / 1.059 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/1.291, allocations: 127.8 kB / 1.059 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/1.292, allocations: 0.9464 MB / 1.06 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/1.294, allocations: 192.7 kB / 1.06 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/1.294, allocations: 27.98 kB / 1.06 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/1.294, allocations: 6.031 kB / 1.06 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003577/1.298, allocations: 1.062 MB / 1.061 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.298, allocations: 8 kB / 1.061 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/1.299, allocations: 322.5 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/1.299, allocations: 127.8 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/1.301, allocations: 0.9347 MB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.303, allocations: 167.3 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/1.303, allocations: 35.98 kB / 1.063 GB, free: 15.75 MB / 0.8262 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.0007878/1.304, allocations: 349 kB / 1.063 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/1.304, allocations: 114.7 kB / 1.063 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/1.307, allocations: 0.9885 MB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/1.307, allocations: 4 kB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/1.307, allocations: 3.938 kB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.307, allocations: 3.984 kB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006414/1.313, allocations: 2.276 MB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.313, allocations: 4 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/1.313, allocations: 71.83 kB / 1.066 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/1.315, allocations: 316.9 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/1.315, allocations: 15.98 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/1.316, allocations: 0.9737 MB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.316, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/1.321, allocations: 1.257 MB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007566/1.321, allocations: 279.5 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/1.322, allocations: 16 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.323, allocations: 111.8 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.323, allocations: 39.83 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.009e-05/1.323, allocations: 23.98 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001774/1.325, allocations: 0.7469 MB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of sort global known variables: time 8.51e-07/1.325, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002685/1.327, allocations: 0.5535 MB / 1.071 GB, free: 7.426 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.005656/1.333, allocations: 2.083 MB / 1.073 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003661/1.337, allocations: 1.161 MB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.337, allocations: 8.125 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009549/1.338, allocations: 354.4 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.341, allocations: 0.5097 MB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/1.365, allocations: 9.202 MB / 1.084 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.366, allocations: 1.061 MB / 1.085 GB, free: 8.535 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001351/1.368, allocations: 228.6 kB / 1.085 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006905/1.369, allocations: 411.2 kB / 1.085 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of SimCode: time 1.402e-06/1.369, allocations: 4 kB / 1.085 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.134/4.503, allocations: 31.98 MB / 1.117 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003608/4.503, allocations: 273.5 kB / 1.117 GB, free: 8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/7.392, allocations: 0 / 1.117 GB, free: 8 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)