Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.697/4.697, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002333/0.002333, allocations: 353.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.91/3.91, allocations: 410.7 MB / 1.112 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001768/0.001768, allocations: 177.9 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005243/0.0005245, allocations: 15.98 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5752/0.5757, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.06386/0.6396, allocations: 69.42 MB / 1.529 GB, free: 215 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.6579, allocations: 13.88 MB / 1.542 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.6603, allocations: 63.5 kB / 1.542 GB, free: 201.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002381/0.6627, allocations: 0.6775 MB / 1.543 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.007704/0.6704, allocations: 2.444 MB / 1.545 GB, free: 198 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.005222/0.6756, allocations: 1.522 MB / 1.547 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005483/0.6811, allocations: 4.797 MB / 1.551 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00166/0.6828, allocations: 1.017 MB / 1.552 GB, free: 190.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.6851, allocations: 1.232 MB / 1.554 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.6866, allocations: 1.082 MB / 1.555 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.6868, allocations: 56 kB / 1.555 GB, free: 188.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.689, allocations: 0.7597 MB / 1.555 GB, free: 187.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.6893, allocations: 262.8 kB / 1.556 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004379/0.6898, allocations: 360.9 kB / 1.556 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.692, allocations: 2.042 MB / 1.558 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.555e-06/0.6921, allocations: 4 kB / 1.558 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.442e-06/0.6921, allocations: 0 / 1.558 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.757e-05/0.6921, allocations: 0 / 1.558 GB, free: 184.9 MB / 0.8542 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.00334/0.6955, allocations: 1.787 MB / 1.56 GB, free: 183 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.6955, allocations: 15.56 kB / 1.56 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.6964, allocations: 245.8 kB / 1.56 GB, free: 182.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.6992, allocations: 1.431 MB / 1.561 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.154e-05/0.6992, allocations: 78 kB / 1.561 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.6994, allocations: 100.9 kB / 1.562 GB, free: 181.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.7018, allocations: 1.12 MB / 1.563 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.075e-05/0.7018, allocations: 0 / 1.563 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.7019, allocations: 40 kB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.702, allocations: 28 kB / 1.563 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.7044, allocations: 0.9329 MB / 1.564 GB, free: 179 MB / 0.8542 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.006575/0.711, allocations: 4.909 MB / 1.568 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.7127, allocations: 0.6433 MB / 1.569 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008674/0.7136, allocations: 370.2 kB / 1.569 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005305/0.7142, allocations: 0.8316 MB / 1.57 GB, free: 171.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.7142, allocations: 39.12 kB / 1.57 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=61): time 3.64e-06/0.7142, allocations: 0 / 1.57 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=61): time 0.007993/0.7222, allocations: 1.896 MB / 1.572 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.7223, allocations: 59.97 kB / 1.572 GB, free: 169.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.7242, allocations: 1.194 MB / 1.573 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.7244, allocations: 49.64 kB / 1.573 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.7249, allocations: 0.5987 MB / 1.574 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.7251, allocations: 216.9 kB / 1.574 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.7252, allocations: 16 kB / 1.574 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.7253, allocations: 329.9 kB / 1.574 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.7261, allocations: 301.8 kB / 1.575 GB, free: 167 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009621/0.7271, allocations: 0.5005 MB / 1.575 GB, free: 166.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008926/0.728, allocations: 367 kB / 1.576 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.345e-06/0.728, allocations: 0 / 1.576 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005477/0.7335, allocations: 1.39 MB / 1.577 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.7337, allocations: 202 kB / 1.577 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.7337, allocations: 4 kB / 1.577 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000725/0.7344, allocations: 148.7 kB / 1.577 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.7353, allocations: 171.8 kB / 1.577 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009412/0.7363, allocations: 0.7114 MB / 1.578 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.7379, allocations: 171.1 kB / 1.578 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.7381, allocations: 31.98 kB / 1.578 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.7381, allocations: 4 kB / 1.578 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005092/0.7432, allocations: 1.257 MB / 1.58 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.7433, allocations: 4 kB / 1.58 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.7439, allocations: 148.8 kB / 1.58 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008065/0.7447, allocations: 163.8 kB / 1.58 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008796/0.7456, allocations: 0.724 MB / 1.581 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.7471, allocations: 163.2 kB / 1.581 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.145e-05/0.7473, allocations: 29.64 kB / 1.581 GB, free: 160.7 MB / 0.8542 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.0007214/0.748, allocations: 424.8 kB / 1.581 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.7483, allocations: 138.2 kB / 1.581 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/0.7534, allocations: 1.392 MB / 1.583 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.7535, allocations: 8 kB / 1.583 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.973e-06/0.7535, allocations: 0 / 1.583 GB, free: 158.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004678/0.7582, allocations: 1.232 MB / 1.584 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007468/0.7657, allocations: 2.739 MB / 1.587 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.7657, allocations: 4 kB / 1.587 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.7664, allocations: 115.9 kB / 1.587 GB, free: 154.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005954/0.767, allocations: 146.5 kB / 1.587 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.7671, allocations: 23.98 kB / 1.587 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005511/0.7726, allocations: 2.475 MB / 1.589 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.7727, allocations: 4 kB / 1.589 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00702/0.7797, allocations: 1.852 MB / 1.591 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/0.7805, allocations: 335 kB / 1.591 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.7808, allocations: 16 kB / 1.591 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.7819, allocations: 99.88 kB / 1.592 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.7821, allocations: 56.27 kB / 1.592 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/0.7822, allocations: 31.97 kB / 1.592 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0014/0.7836, allocations: 0.8543 MB / 1.592 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.052e-06/0.7836, allocations: 0 / 1.592 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002116/0.7857, allocations: 0.7096 MB / 1.593 GB, free: 147.6 MB / 0.8542 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.0008471/0.7866, allocations: 422.8 kB / 1.594 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00305/0.7897, allocations: 1.164 MB / 1.595 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.039e-06/0.7897, allocations: 0 / 1.595 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.7914, allocations: 0.5994 MB / 1.595 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/0.7957, allocations: 0.7742 MB / 1.596 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004396/0.8002, allocations: 2.759 MB / 1.599 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006961/0.8009, allocations: 1.203 MB / 1.6 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001713/0.8026, allocations: 305.5 kB / 1.6 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.8029, allocations: 103.4 kB / 1.6 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.726e-06/0.8029, allocations: 0 / 1.6 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.05917/0.8621, allocations: 29.66 MB / 1.629 GB, free: 111.2 MB / 0.8542 GB