Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.427/1.427, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 167.2 kB / 327 MB, free: 2.113 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.79/1.79, allocations: 205.4 MB / 0.578 GB, free: 20.42 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008233/0.0008238, allocations: 93.3 kB / 0.6826 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 9 kB / 0.7971 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2342, allocations: 106.3 MB / 0.9009 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05408/0.2884, allocations: 59.76 MB / 0.9593 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.311, allocations: 11.78 MB / 0.9708 GB, free: 7.941 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002715/0.3138, allocations: 51.62 kB / 0.9708 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.3165, allocations: 0.536 MB / 0.9714 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008282/0.3248, allocations: 1.793 MB / 0.9731 GB, free: 5.547 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004654/0.3295, allocations: 1.1 MB / 0.9742 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008094/0.3376, allocations: 3.886 MB / 0.978 GB, free: 0.5547 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.3399, allocations: 0.898 MB / 0.9788 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004273/0.3442, allocations: 1.124 MB / 0.9799 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003185/0.3474, allocations: 0.8593 MB / 0.9808 GB, free: 13.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.3478, allocations: 44 kB / 0.9808 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005216/0.353, allocations: 1.31 MB / 0.9821 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004439/0.3535, allocations: 214.9 kB / 0.9823 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.3549, allocations: 0.635 MB / 0.9829 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005062/0.36, allocations: 2.185 MB / 0.9851 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.36, allocations: 4 kB / 0.9851 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3601, allocations: 0 / 0.9851 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.675e-05/0.3601, allocations: 0 / 0.9851 GB, free: 9.227 MB / 0.6355 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.004098/0.3642, allocations: 1.491 MB / 0.9865 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/0.3643, allocations: 8.031 kB / 0.9865 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.3645, allocations: 122.9 kB / 0.9866 GB, free: 7.543 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003098/0.3676, allocations: 478.8 kB / 0.9871 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.3707, allocations: 1.136 MB / 0.9882 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000493/0.3713, allocations: 133.9 kB / 0.9883 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.3715, allocations: 80 kB / 0.9884 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.3744, allocations: 0.9995 MB / 0.9894 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.3745, allocations: 0 / 0.9894 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.3746, allocations: 36 kB / 0.9894 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.3746, allocations: 23.98 kB / 0.9895 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.3781, allocations: 0.9212 MB / 0.9904 GB, free: 3.652 MB / 0.6355 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.009498/0.3876, allocations: 4.647 MB / 0.9949 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/0.3925, allocations: 0.9263 MB / 0.9958 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.3937, allocations: 342 kB / 0.9961 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009305/0.3947, allocations: 0.9029 MB / 0.997 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3947, allocations: 39 kB / 0.997 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=47): time 3.898e-06/0.3947, allocations: 3.938 kB / 0.997 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47): time 0.01048/0.4052, allocations: 2.01 MB / 0.999 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.4053, allocations: 55.84 kB / 0.9991 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.4077, allocations: 1.06 MB / 1 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.4078, allocations: 45.64 kB / 1 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006196/0.4085, allocations: 0.5274 MB / 1.001 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/0.4087, allocations: 169.6 kB / 1.001 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/0.4088, allocations: 8 kB / 1.001 GB, free: 8.328 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4089, allocations: 330 kB / 1.001 GB, free: 8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.4103, allocations: 332.9 kB / 1.001 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.4119, allocations: 0.5314 MB / 1.002 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002473/0.4144, allocations: 0.741 MB / 1.003 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.4144, allocations: 7.938 kB / 1.003 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005293/0.4197, allocations: 1.229 MB / 1.004 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.4199, allocations: 207.9 kB / 1.004 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.42, allocations: 4 kB / 1.004 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.4217, allocations: 331.4 kB / 1.004 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/0.4225, allocations: 143.8 kB / 1.005 GB, free: 4.297 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/0.4247, allocations: 0.9309 MB / 1.005 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.4266, allocations: 199.2 kB / 1.006 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.4267, allocations: 31.98 kB / 1.006 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4268, allocations: 7.938 kB / 1.006 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004824/0.4316, allocations: 1.085 MB / 1.007 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4316, allocations: 8.094 kB / 1.007 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00156/0.4332, allocations: 328.5 kB / 1.007 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.434, allocations: 135.8 kB / 1.007 GB, free: 1.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.4361, allocations: 0.9337 MB / 1.008 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/0.438, allocations: 183.2 kB / 1.008 GB, free: 424 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.4381, allocations: 27.98 kB / 1.008 GB, free: 396 kB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0008656/0.439, allocations: 349 kB / 1.009 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.4394, allocations: 110.8 kB / 1.009 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003743/0.4431, allocations: 1.05 MB / 1.01 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.4432, allocations: 4 kB / 1.01 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4432, allocations: 3.938 kB / 1.01 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4432, allocations: 3.984 kB / 1.01 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/0.4519, allocations: 2.481 MB / 1.012 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.452, allocations: 4 kB / 1.012 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.4525, allocations: 79.88 kB / 1.012 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.4539, allocations: 324.9 kB / 1.013 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.454, allocations: 12 kB / 1.013 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.4562, allocations: 0.9698 MB / 1.014 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.4562, allocations: 7.938 kB / 1.014 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/0.4616, allocations: 1.29 MB / 1.015 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.4627, allocations: 283.4 kB / 1.015 GB, free: 9.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.4629, allocations: 19.94 kB / 1.015 GB, free: 9.207 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.4643, allocations: 111.8 kB / 1.015 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.4644, allocations: 43.88 kB / 1.015 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.658e-05/0.4645, allocations: 23.98 kB / 1.015 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001807/0.4663, allocations: 0.743 MB / 1.016 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4663, allocations: 0 / 1.016 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002411/0.4688, allocations: 0.5497 MB / 1.017 GB, free: 7.73 MB / 0.6667 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 (37): * Single equations (assignments): 32 * 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.006518/0.4753, allocations: 2.102 MB / 1.019 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004859/0.4802, allocations: 1.229 MB / 1.02 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.4802, allocations: 0 / 1.02 GB, free: 4.352 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.4816, allocations: 383 kB / 1.02 GB, free: 3.977 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/0.4862, allocations: 0.5333 MB / 1.021 GB, free: 3.445 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03021/0.5165, allocations: 9.318 MB / 1.03 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008838/0.5174, allocations: 1.066 MB / 1.031 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001736/0.5192, allocations: 220.8 kB / 1.031 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008133/0.52, allocations: 411.3 kB / 1.031 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of SimCode: time 1.944e-06/0.52, allocations: 0 / 1.031 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4901/1.01, allocations: 32.65 MB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/1.01, allocations: 271.7 kB / 1.064 GB, free: 147.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.326/4.336, allocations: 2.844 kB / 1.064 GB, free: 147.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)