Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.408/2.408, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001485, allocations: 176.9 kB / 325.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.576/2.576, allocations: 205.4 MB / 0.5767 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008629/0.0008627, allocations: 87 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004628, allocations: 17 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 106.3 MB / 0.899 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.1016/0.3263, allocations: 69.44 MB / 0.9668 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02889/0.3552, allocations: 14.03 MB / 0.9805 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002814/0.3581, allocations: 55.62 kB / 0.9806 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.3613, allocations: 0.5627 MB / 0.9812 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.009072/0.3704, allocations: 1.972 MB / 0.9831 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/0.3752, allocations: 0.9332 MB / 0.984 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009081/0.3843, allocations: 4.817 MB / 0.9887 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002997/0.3873, allocations: 1.083 MB / 0.9897 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004367/0.3917, allocations: 1.275 MB / 0.991 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003098/0.3949, allocations: 1.085 MB / 0.9921 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005209/0.3954, allocations: 56 kB / 0.9921 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005873/0.4013, allocations: 0.9199 MB / 0.993 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.4026, allocations: 270.7 kB / 0.9933 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.4041, allocations: 356.9 kB / 0.9936 GB, free: 312 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007491/0.4116, allocations: 2.073 MB / 0.9956 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.4117, allocations: 0 / 0.9956 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.426e-06/0.4117, allocations: 0 / 0.9956 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.519e-05/0.4118, allocations: 4 kB / 0.9956 GB, free: 14.22 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.006811/0.4186, allocations: 1.791 MB / 0.9974 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.896e-05/0.4187, allocations: 12.03 kB / 0.9974 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.4202, allocations: 246.8 kB / 0.9976 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004333/0.4246, allocations: 1.432 MB / 0.999 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.762e-05/0.4247, allocations: 78 kB / 0.9991 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.425, allocations: 103.9 kB / 0.9992 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/0.4285, allocations: 1.104 MB / 1 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.78e-05/0.4286, allocations: 0 / 1 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.4287, allocations: 43.94 kB / 1 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.4288, allocations: 27.94 kB / 1 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.4334, allocations: 0.9329 MB / 1.001 GB, free: 8.305 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.0144/0.4479, allocations: 4.903 MB / 1.006 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/0.4518, allocations: 0.6473 MB / 1.007 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.4538, allocations: 366.3 kB / 1.007 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001228/0.4551, allocations: 0.8199 MB / 1.008 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.4552, allocations: 43.11 kB / 1.008 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 8.015e-06/0.4552, allocations: 0 / 1.008 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.01935/0.4746, allocations: 1.885 MB / 1.01 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.4747, allocations: 63.95 kB / 1.01 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004056/0.4788, allocations: 1.194 MB / 1.011 GB, free: 13.84 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.4791, allocations: 37.7 kB / 1.011 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.4802, allocations: 0.6104 MB / 1.012 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004297/0.4807, allocations: 208.9 kB / 1.012 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.4808, allocations: 16 kB / 1.012 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.481, allocations: 338 kB / 1.012 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/0.4827, allocations: 293.8 kB / 1.012 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.4847, allocations: 0.5123 MB / 1.013 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.4869, allocations: 363 kB / 1.013 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.487, allocations: 0 / 1.013 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.01324/0.5003, allocations: 1.398 MB / 1.015 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.5006, allocations: 198.3 kB / 1.015 GB, free: 9.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.5006, allocations: 4 kB / 1.015 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.5021, allocations: 156.5 kB / 1.015 GB, free: 9.578 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.5036, allocations: 163.8 kB / 1.015 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.5051, allocations: 0.72 MB / 1.016 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/0.5082, allocations: 171.1 kB / 1.016 GB, free: 8.504 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.5085, allocations: 31.98 kB / 1.016 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5085, allocations: 4 kB / 1.016 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0112/0.5197, allocations: 1.249 MB / 1.017 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/0.5198, allocations: 4 kB / 1.017 GB, free: 7.211 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.521, allocations: 145.1 kB / 1.017 GB, free: 7.066 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.5228, allocations: 163.8 kB / 1.018 GB, free: 6.906 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.5246, allocations: 0.72 MB / 1.018 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/0.5277, allocations: 169.4 kB / 1.018 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.528, allocations: 32 kB / 1.018 GB, free: 5.965 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001362/0.5294, allocations: 420.9 kB / 1.019 GB, free: 5.543 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005971/0.53, allocations: 138.3 kB / 1.019 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.5419, allocations: 1.392 MB / 1.02 GB, free: 3.996 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.043e-05/0.542, allocations: 11.98 kB / 1.02 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.542, allocations: 0 / 1.02 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01064/0.5527, allocations: 1.232 MB / 1.022 GB, free: 2.723 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.5688, allocations: 2.731 MB / 1.024 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/0.5689, allocations: 4 kB / 1.024 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.5703, allocations: 120.3 kB / 1.024 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.5714, allocations: 140.9 kB / 1.024 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/0.5716, allocations: 23.98 kB / 1.024 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01217/0.5838, allocations: 2.481 MB / 1.027 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-05/0.5839, allocations: 12 kB / 1.027 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.5985, allocations: 1.84 MB / 1.029 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.6, allocations: 331 kB / 1.029 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004278/0.6005, allocations: 31.98 kB / 1.029 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00253/0.603, allocations: 89.19 kB / 1.029 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002834/0.6033, allocations: 68.17 kB / 1.029 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.6035, allocations: 27.98 kB / 1.029 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00286/0.6064, allocations: 0.8582 MB / 1.03 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.22e-07/0.6064, allocations: 0 / 1.03 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004571/0.611, allocations: 0.7135 MB / 1.031 GB, free: 8.91 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/0.6127, allocations: 411.8 kB / 1.031 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006902/0.6197, allocations: 1.164 MB / 1.032 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.6197, allocations: 0 / 1.032 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.004014/0.6238, allocations: 0.6033 MB / 1.033 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008828/0.6327, allocations: 0.7666 MB / 1.034 GB, free: 5.969 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006674/0.6394, allocations: 2.761 MB / 1.036 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/0.6404, allocations: 1.172 MB / 1.037 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002069/0.6425, allocations: 299 kB / 1.038 GB, free: 1.637 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.6429, allocations: 107.3 kB / 1.038 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of SimCode: time 1.103e-06/0.643, allocations: 4 kB / 1.038 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of Templates: time 0.6489/1.292, allocations: 29.51 MB / 1.067 GB, free: 141.9 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)