Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y",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.0009204/0.0009205, allocations: 97.95 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.006768/0.006768, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.212/1.212, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.773/2.773, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003276, allocations: 12 kB / 0.8729 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6193, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06526/0.6845, allocations: 73.44 MB / 1.095 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.7028, allocations: 12.68 MB / 1.107 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.7054, allocations: 59.62 kB / 1.107 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002274/0.7077, allocations: 0.676 MB / 1.108 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006518/0.7143, allocations: 2.271 MB / 1.11 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.7173, allocations: 1.274 MB / 1.111 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005811/0.7232, allocations: 5.547 MB / 1.117 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.7249, allocations: 1.143 MB / 1.118 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.7273, allocations: 1.31 MB / 1.119 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001224/0.7285, allocations: 1.131 MB / 1.12 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.7287, allocations: 52 kB / 1.12 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002194/0.7309, allocations: 1.247 MB / 1.122 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.7311, allocations: 286.6 kB / 1.122 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007181/0.7319, allocations: 0.7984 MB / 1.123 GB, free: 9.559 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.7344, allocations: 2.71 MB / 1.125 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.7344, allocations: 4 kB / 1.125 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7344, allocations: 3.938 kB / 1.125 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.716e-05/0.7345, allocations: 0 / 1.125 GB, free: 6.832 MB / 0.8731 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.002901/0.7374, allocations: 1.787 MB / 1.127 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.7374, allocations: 8.031 kB / 1.127 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.7376, allocations: 152.1 kB / 1.127 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007254/0.7383, allocations: 238.8 kB / 1.127 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.7406, allocations: 1.489 MB / 1.129 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.7407, allocations: 74 kB / 1.129 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.7408, allocations: 104 kB / 1.129 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.7428, allocations: 1.128 MB / 1.13 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.7428, allocations: 4 kB / 1.13 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-05/0.7429, allocations: 40 kB / 1.13 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.319e-05/0.7429, allocations: 31.94 kB / 1.13 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.7448, allocations: 0.929 MB / 1.131 GB, free: 0.6992 MB / 0.8731 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.005588/0.7504, allocations: 4.896 MB / 1.136 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.7518, allocations: 0.6432 MB / 1.137 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007275/0.7525, allocations: 374.3 kB / 1.137 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.7531, allocations: 0.8316 MB / 1.138 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.7532, allocations: 39.12 kB / 1.138 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 2.574e-06/0.7532, allocations: 0 / 1.138 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.007217/0.7604, allocations: 1.881 MB / 1.14 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.7605, allocations: 55.97 kB / 1.14 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.762, allocations: 1.21 MB / 1.141 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/0.7621, allocations: 37.7 kB / 1.141 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005116/0.7626, allocations: 0.6142 MB / 1.141 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.7628, allocations: 216.9 kB / 1.142 GB, free: 5.352 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-05/0.7629, allocations: 61.69 kB / 1.142 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.763, allocations: 333.9 kB / 1.142 GB, free: 4.953 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.7637, allocations: 305.8 kB / 1.142 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000845/0.7646, allocations: 0.4975 MB / 1.143 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.766, allocations: 0.7519 MB / 1.144 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.7661, allocations: 3.938 kB / 1.144 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004921/0.771, allocations: 1.406 MB / 1.145 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.7712, allocations: 198.2 kB / 1.145 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.7712, allocations: 8 kB / 1.145 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/0.7718, allocations: 148.7 kB / 1.145 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006282/0.7725, allocations: 163.8 kB / 1.145 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008804/0.7734, allocations: 0.7161 MB / 1.146 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.7746, allocations: 163.1 kB / 1.146 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.602e-05/0.7746, allocations: 31.94 kB / 1.146 GB, free: 372 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 7.935e-06/0.7747, allocations: 4 kB / 1.146 GB, free: 368 kB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004634/0.7793, allocations: 1.257 MB / 1.148 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7793, allocations: 4 kB / 1.148 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/0.7798, allocations: 145.1 kB / 1.148 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/0.7804, allocations: 163.8 kB / 1.148 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008225/0.7812, allocations: 0.7122 MB / 1.149 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009499/0.7822, allocations: 155.2 kB / 1.149 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.7823, allocations: 35.98 kB / 1.149 GB, free: 13.86 MB / 0.9044 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.0007283/0.783, allocations: 413 kB / 1.149 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002059/0.7832, allocations: 134.4 kB / 1.149 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/0.7881, allocations: 1.408 MB / 1.151 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.7882, allocations: 8 kB / 1.151 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7882, allocations: 0 / 1.151 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004265/0.7924, allocations: 1.236 MB / 1.152 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006361/0.7988, allocations: 2.746 MB / 1.155 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7988, allocations: 4 kB / 1.155 GB, free: 7.75 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.7993, allocations: 120.2 kB / 1.155 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.7998, allocations: 140.7 kB / 1.155 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.871e-05/0.7998, allocations: 16 kB / 1.155 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004622/0.8044, allocations: 2.447 MB / 1.157 GB, free: 4.875 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.8045, allocations: 8 kB / 1.157 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005232/0.8097, allocations: 1.844 MB / 1.159 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.8102, allocations: 335.1 kB / 1.159 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.8103, allocations: 16.28 kB / 1.159 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/0.8112, allocations: 111.7 kB / 1.159 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.8114, allocations: 64.23 kB / 1.159 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/0.8114, allocations: 27.98 kB / 1.16 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001298/0.8127, allocations: 0.8699 MB / 1.16 GB, free: 1.527 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8127, allocations: 7.938 kB / 1.16 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001781/0.8145, allocations: 0.7096 MB / 1.161 GB, free: 0.8086 MB / 0.9044 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.006378/0.8209, allocations: 2.719 MB / 1.164 GB, free: 14.02 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00256/0.8235, allocations: 1.168 MB / 1.165 GB, free: 12.86 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.8235, allocations: 8.188 kB / 1.165 GB, free: 12.85 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.825, allocations: 0.5915 MB / 1.165 GB, free: 12.24 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004254/0.8292, allocations: 0.7879 MB / 1.166 GB, free: 11.46 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02741/0.8567, allocations: 11.18 MB / 1.177 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/0.8579, allocations: 1.173 MB / 1.178 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001652/0.8596, allocations: 306.9 kB / 1.179 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009696/0.8606, allocations: 0.5149 MB / 1.179 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of SimCode: time 1.804e-06/0.8606, allocations: 0 / 1.179 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08152/0.9422, allocations: 42.32 MB / 1.22 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/0.9425, allocations: 271.5 kB / 1.221 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/3.766, allocations: 0 / 1.221 GB, free: 3.59 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)