Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y",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.501/1.501, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009596/0.00096, allocations: 176.6 kB / 327 MB, free: 2.098 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.699/1.699, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0008681/0.0008681, allocations: 78.36 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 9.312 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2157, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05707/0.2728, allocations: 73.44 MB / 0.9726 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.2917, allocations: 12.52 MB / 0.9848 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.2949, allocations: 55.56 kB / 0.9849 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.2974, allocations: 0.6682 MB / 0.9856 GB, free: 8.422 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008192/0.3056, allocations: 2.25 MB / 0.9878 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.3095, allocations: 1.248 MB / 0.989 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008449/0.318, allocations: 5.488 MB / 0.9943 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.3204, allocations: 1.132 MB / 0.9954 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.324, allocations: 1.353 MB / 0.9968 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.3263, allocations: 1.128 MB / 0.9979 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.3266, allocations: 56 kB / 0.9979 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.3301, allocations: 1.236 MB / 0.9991 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.3305, allocations: 282.6 kB / 0.9994 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.3319, allocations: 0.7944 MB / 1 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004452/0.3363, allocations: 2.703 MB / 1.003 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3364, allocations: 0 / 1.003 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.746e-06/0.3364, allocations: 4 kB / 1.003 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.701e-05/0.3364, allocations: 0 / 1.003 GB, free: 6.676 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003658/0.3401, allocations: 1.776 MB / 1.005 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.3402, allocations: 12.03 kB / 1.005 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.3404, allocations: 148.1 kB / 1.005 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.3411, allocations: 238.9 kB / 1.005 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.3434, allocations: 1.466 MB / 1.006 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.229e-05/0.3434, allocations: 78 kB / 1.006 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.3436, allocations: 100 kB / 1.007 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.3455, allocations: 1.12 MB / 1.008 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.3456, allocations: 0 / 1.008 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/0.3457, allocations: 43.98 kB / 1.008 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.3457, allocations: 28 kB / 1.008 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.3476, allocations: 0.929 MB / 1.009 GB, free: 0.5859 MB / 0.6511 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.005658/0.3532, allocations: 4.907 MB / 1.013 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.3546, allocations: 0.6487 MB / 1.014 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007188/0.3554, allocations: 372.6 kB / 1.014 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.356, allocations: 0.8315 MB / 1.015 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3561, allocations: 47.06 kB / 1.015 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 2.544e-06/0.3561, allocations: 0 / 1.015 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.007217/0.3633, allocations: 1.884 MB / 1.017 GB, free: 7.383 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3634, allocations: 59.97 kB / 1.017 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.3649, allocations: 1.205 MB / 1.018 GB, free: 6.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/0.365, allocations: 41.7 kB / 1.018 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.3655, allocations: 0.5986 MB / 1.019 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.3657, allocations: 212.9 kB / 1.019 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.3658, allocations: 16 kB / 1.019 GB, free: 5.211 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3659, allocations: 337.9 kB / 1.019 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/0.3666, allocations: 301.8 kB / 1.02 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008595/0.3674, allocations: 0.5076 MB / 1.02 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.3689, allocations: 0.7442 MB / 1.021 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.3689, allocations: 7.875 kB / 1.021 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004885/0.3738, allocations: 1.406 MB / 1.022 GB, free: 1.777 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.374, allocations: 198.2 kB / 1.023 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.374, allocations: 7.984 kB / 1.023 GB, free: 1.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.3747, allocations: 140.7 kB / 1.023 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.3753, allocations: 171.8 kB / 1.023 GB, free: 1.211 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009025/0.3762, allocations: 0.7123 MB / 1.024 GB, free: 484 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.3776, allocations: 167 kB / 1.024 GB, free: 316 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/0.3777, allocations: 31.98 kB / 1.024 GB, free: 284 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.3777, allocations: 4 kB / 1.024 GB, free: 280 kB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004466/0.3821, allocations: 1.257 MB / 1.025 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3822, allocations: 0 / 1.025 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.3827, allocations: 149.1 kB / 1.025 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006219/0.3833, allocations: 175.8 kB / 1.025 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007848/0.3841, allocations: 0.7006 MB / 1.026 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.3854, allocations: 163.2 kB / 1.026 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.3855, allocations: 39.92 kB / 1.026 GB, free: 13.76 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007319/0.3863, allocations: 416.9 kB / 1.027 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.3866, allocations: 134.3 kB / 1.027 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004974/0.3916, allocations: 1.396 MB / 1.028 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.922e-05/0.3916, allocations: 8 kB / 1.028 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/0.3917, allocations: 0 / 1.028 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004461/0.3961, allocations: 1.232 MB / 1.029 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008189/0.4043, allocations: 2.742 MB / 1.032 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.4044, allocations: 0 / 1.032 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.4049, allocations: 124.2 kB / 1.032 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/0.4054, allocations: 136.7 kB / 1.032 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.537e-05/0.4055, allocations: 20 kB / 1.032 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.4103, allocations: 2.431 MB / 1.035 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4103, allocations: 7.938 kB / 1.035 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005675/0.416, allocations: 1.855 MB / 1.036 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008256/0.4168, allocations: 323.1 kB / 1.037 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/0.4171, allocations: 20 kB / 1.037 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.4182, allocations: 107.8 kB / 1.037 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.4184, allocations: 60.23 kB / 1.037 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.4185, allocations: 27.98 kB / 1.037 GB, free: 2.336 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001516/0.42, allocations: 0.8619 MB / 1.038 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.71e-07/0.42, allocations: 4 kB / 1.038 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002403/0.4224, allocations: 0.7057 MB / 1.038 GB, free: 0.7617 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008654/0.4311, allocations: 2.732 MB / 1.041 GB, free: 13.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004488/0.4356, allocations: 1.164 MB / 1.042 GB, free: 12.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.4357, allocations: 192 / 1.042 GB, free: 12.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.4381, allocations: 0.5953 MB / 1.043 GB, free: 12.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007811/0.446, allocations: 0.814 MB / 1.044 GB, free: 11.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5267/0.9727, allocations: 11.12 MB / 1.054 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/0.9736, allocations: 1.172 MB / 1.056 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001528/0.9751, allocations: 297.6 kB / 1.056 GB, free: 145.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/0.9758, allocations: 0.5085 MB / 1.056 GB, free: 145.1 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/0.9758, allocations: 3.469 kB / 1.056 GB, free: 145.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07603/1.052, allocations: 42.42 MB / 1.098 GB, free: 123.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/1.052, allocations: 266.2 kB / 1.098 GB, free: 122.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.574/4.627, allocations: 7.938 kB / 1.098 GB, free: 122.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)