Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_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.0007535/0.0007535, allocations: 97.72 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.004617/0.004617, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.642/1.642, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000512/0.000512, allocations: 14.34 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1961, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06945/0.2656, allocations: 73.47 MB / 0.8597 GB, free: 1.797 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01891/0.2845, allocations: 14.94 MB / 0.8743 GB, free: 2.816 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.2866, allocations: 55.62 kB / 0.8744 GB, free: 2.762 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.2886, allocations: 0.6721 MB / 0.875 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006415/0.295, allocations: 2.372 MB / 0.8774 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.2982, allocations: 1.276 MB / 0.8786 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006063/0.3043, allocations: 5.531 MB / 0.884 GB, free: 8.891 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.3059, allocations: 1.143 MB / 0.8851 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.3081, allocations: 1.326 MB / 0.8864 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.3096, allocations: 1.155 MB / 0.8875 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.3097, allocations: 56 kB / 0.8876 GB, free: 5.168 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.3123, allocations: 1.243 MB / 0.8888 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.3126, allocations: 290.6 kB / 0.8891 GB, free: 3.637 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0009007/0.3135, allocations: 0.8022 MB / 0.8899 GB, free: 2.824 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00366/0.3172, allocations: 2.718 MB / 0.8925 GB, free: 100 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3172, allocations: 0 / 0.8925 GB, free: 100 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3172, allocations: 0 / 0.8925 GB, free: 100 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.775e-05/0.3173, allocations: 0 / 0.8925 GB, free: 100 kB / 0.7012 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.00339/0.3207, allocations: 1.795 MB / 0.8943 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.3207, allocations: 8.031 kB / 0.8943 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001948/0.3209, allocations: 144.1 kB / 0.8944 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007712/0.3217, allocations: 242.9 kB / 0.8947 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.324, allocations: 1.477 MB / 0.8961 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/0.3241, allocations: 78 kB / 0.8962 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.3242, allocations: 103.9 kB / 0.8963 GB, free: 12.13 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.3262, allocations: 1.124 MB / 0.8974 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.3263, allocations: 0 / 0.8974 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/0.3264, allocations: 40 kB / 0.8974 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.042e-05/0.3264, allocations: 27.94 kB / 0.8974 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/0.3283, allocations: 0.9329 MB / 0.8983 GB, free: 9.977 MB / 0.7169 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.005664/0.334, allocations: 4.938 MB / 0.9032 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.3354, allocations: 0.6468 MB / 0.9038 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.3362, allocations: 374.2 kB / 0.9042 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/0.3367, allocations: 0.8238 MB / 0.905 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.3368, allocations: 47.05 kB / 0.905 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.294e-06/0.3368, allocations: 0 / 0.905 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007779/0.3446, allocations: 1.889 MB / 0.9068 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.3446, allocations: 59.97 kB / 0.9069 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.3462, allocations: 1.214 MB / 0.9081 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.049e-05/0.3463, allocations: 41.7 kB / 0.9081 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004904/0.3468, allocations: 0.6104 MB / 0.9087 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.347, allocations: 208.9 kB / 0.9089 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.3471, allocations: 61.69 kB / 0.909 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3472, allocations: 341.8 kB / 0.9093 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.3479, allocations: 301.8 kB / 0.9096 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/0.3487, allocations: 0.5086 MB / 0.9101 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.3502, allocations: 0.7597 MB / 0.9108 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3502, allocations: 0 / 0.9108 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004721/0.3549, allocations: 1.398 MB / 0.9122 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.355, allocations: 202.2 kB / 0.9124 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.355, allocations: 4 kB / 0.9124 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005583/0.3556, allocations: 152.6 kB / 0.9125 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.3562, allocations: 167.8 kB / 0.9127 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008346/0.3571, allocations: 0.72 MB / 0.9134 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.3582, allocations: 167.1 kB / 0.9136 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.3582, allocations: 36 kB / 0.9136 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-06/0.3582, allocations: 4 kB / 0.9136 GB, free: 9.547 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004526/0.3628, allocations: 1.249 MB / 0.9148 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3628, allocations: 7.984 kB / 0.9148 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004716/0.3633, allocations: 149.1 kB / 0.915 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/0.3638, allocations: 163.8 kB / 0.9151 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007776/0.3646, allocations: 0.7201 MB / 0.9158 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009745/0.3656, allocations: 163.2 kB / 0.916 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-05/0.3657, allocations: 31.98 kB / 0.916 GB, free: 7.039 MB / 0.7325 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004933/0.3662, allocations: 420.8 kB / 0.9164 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.3664, allocations: 130.4 kB / 0.9165 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004791/0.3712, allocations: 1.404 MB / 0.9179 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.3712, allocations: 8 kB / 0.9179 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3712, allocations: 0 / 0.9179 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004343/0.3755, allocations: 1.24 MB / 0.9191 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006568/0.3821, allocations: 2.739 MB / 0.9218 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.3821, allocations: 4.438 kB / 0.9218 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.3826, allocations: 119.9 kB / 0.9219 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004792/0.3831, allocations: 148.6 kB / 0.9221 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.3832, allocations: 23.94 kB / 0.9221 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.376/0.7591, allocations: 2.476 MB / 0.9245 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.7592, allocations: 7.469 kB / 0.9245 GB, free: 133 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005992/0.7652, allocations: 1.845 MB / 0.9263 GB, free: 132.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006735/0.7659, allocations: 334.4 kB / 0.9266 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.7662, allocations: 14.22 kB / 0.9267 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7673, allocations: 95.97 kB / 0.9267 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.7674, allocations: 65.64 kB / 0.9268 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.7675, allocations: 31.52 kB / 0.9268 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001353/0.7688, allocations: 0.866 MB / 0.9277 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7688, allocations: 0 / 0.9277 GB, free: 132.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001986/0.7708, allocations: 0.712 MB / 0.9284 GB, free: 132.5 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005859/0.7767, allocations: 2.733 MB / 0.931 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002367/0.7791, allocations: 1.169 MB / 0.9322 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7791, allocations: 3.938 kB / 0.9322 GB, free: 131.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.7805, allocations: 0.5933 MB / 0.9328 GB, free: 131.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003948/0.7844, allocations: 0.803 MB / 0.9336 GB, free: 131 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/0.8077, allocations: 11.19 MB / 0.9445 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/0.8084, allocations: 1.171 MB / 0.9456 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001188/0.8096, allocations: 309.3 kB / 0.9459 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/0.8103, allocations: 0.5202 MB / 0.9464 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of SimCode: time 5.81e-07/0.8103, allocations: 1.188 kB / 0.9464 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.152/2.962, allocations: 42.7 MB / 0.9881 GB, free: 93.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/2.962, allocations: 262.4 kB / 0.9884 GB, free: 93.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.512/6.474, allocations: 0 / 0.9884 GB, free: 93.02 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)