Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001745/0.001745, allocations: 193.3 kB / 16.13 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.66/1.66, allocations: 205.1 MB / 222 MB, free: 4.957 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.583/1.583, allocations: 251.6 MB / 0.5088 GB, free: 3.352 MB / 414.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.001483/0.001483, allocations: 67.89 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6111/0.6126, allocations: 104.7 MB / 0.7238 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.007156/0.6198, allocations: 4.109 MB / 0.7278 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002881/0.6227, allocations: 1.594 MB / 0.7294 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.623, allocations: 11.94 kB / 0.7294 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.6245, allocations: 0.5568 MB / 0.7299 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006403/0.6251, allocations: 215.1 kB / 0.7301 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.6257, allocations: 190.5 kB / 0.7303 GB, free: 6.598 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008948/0.6266, allocations: 0.7792 MB / 0.7311 GB, free: 5.816 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000502/0.6271, allocations: 313.9 kB / 0.7314 GB, free: 5.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.6274, allocations: 195.3 kB / 0.7316 GB, free: 5.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.6278, allocations: 263.1 kB / 0.7318 GB, free: 5.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.6279, allocations: 28 kB / 0.7318 GB, free: 5.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.6284, allocations: 199.6 kB / 0.732 GB, free: 4.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.6285, allocations: 143.6 kB / 0.7322 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.6288, allocations: 183.1 kB / 0.7323 GB, free: 4.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006875/0.6295, allocations: 0.5199 MB / 0.7329 GB, free: 4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.6296, allocations: 4 kB / 0.7329 GB, free: 3.996 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.41e-07/0.6296, allocations: 3.938 kB / 0.7329 GB, free: 3.992 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.6296, allocations: 0 / 0.7329 GB, free: 3.992 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001496/0.6311, allocations: 0.6748 MB / 0.7335 GB, free: 3.266 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.6311, allocations: 12.03 kB / 0.7335 GB, free: 3.254 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007658/0.6319, allocations: 108.4 kB / 0.7336 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004805/0.6324, allocations: 299.6 kB / 0.7339 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.962e-05/0.6325, allocations: 55.25 kB / 0.734 GB, free: 2.758 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.6326, allocations: 36.38 kB / 0.734 GB, free: 2.723 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.6335, allocations: 0.5048 MB / 0.7345 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.6336, allocations: 0 / 0.7345 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.6336, allocations: 12 kB / 0.7345 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001237/0.6337, allocations: 36.97 kB / 0.7345 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.6345, allocations: 371.7 kB / 0.7349 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002828/0.6373, allocations: 2.22 MB / 0.7371 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.6381, allocations: 254.6 kB / 0.7373 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.6385, allocations: 152.8 kB / 0.7375 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.6385, allocations: 3.984 kB / 0.7375 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.6386, allocations: 38.56 kB / 0.7375 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.6386, allocations: 3.938 kB / 0.7375 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001564/0.6402, allocations: 0.5634 MB / 0.7381 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.6403, allocations: 55.41 kB / 0.7381 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/0.6405, allocations: 236.9 kB / 0.7383 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.6405, allocations: 25.7 kB / 0.7384 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.6407, allocations: 207.7 kB / 0.7386 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.6407, allocations: 63.02 kB / 0.7386 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.6409, allocations: 61.69 kB / 0.7387 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.6411, allocations: 326.8 kB / 0.739 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.6413, allocations: 92.8 kB / 0.7391 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.6416, allocations: 184.3 kB / 0.7392 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.6422, allocations: 271.7 kB / 0.7395 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6422, allocations: 4 kB / 0.7395 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008751/0.6431, allocations: 381 kB / 0.7399 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.6431, allocations: 9.875 kB / 0.7399 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6431, allocations: 0 / 0.7399 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.6437, allocations: 113.6 kB / 0.74 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.6439, allocations: 47.97 kB / 0.74 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.6474, allocations: 2.83 MB / 0.7428 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.6477, allocations: 31.73 kB / 0.7428 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.6477, allocations: 12 kB / 0.7428 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003216/0.648, allocations: 220 kB / 0.7431 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002692/0.6483, allocations: 192.4 kB / 0.7432 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000466/0.6488, allocations: 269.3 kB / 0.7435 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.6488, allocations: 0 / 0.7435 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007837/0.6496, allocations: 356.7 kB / 0.7438 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.6496, allocations: 8 kB / 0.7438 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.6496, allocations: 0 / 0.7438 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003101/0.6499, allocations: 84.91 kB / 0.7439 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.6502, allocations: 51.91 kB / 0.744 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.6522, allocations: 1.515 MB / 0.7455 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.6524, allocations: 23.83 kB / 0.7455 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.6525, allocations: 15.94 kB / 0.7455 GB, free: 6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.6526, allocations: 192.2 kB / 0.7457 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.6527, allocations: 23.72 kB / 0.7457 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.726e-05/0.6528, allocations: 34.11 kB / 0.7457 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6528, allocations: 11.94 kB / 0.7457 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.6528, allocations: 0 / 0.7457 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6528, allocations: 0 / 0.7457 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.6543, allocations: 0.8306 MB / 0.7465 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6543, allocations: 0 / 0.7465 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.6545, allocations: 35.92 kB / 0.7466 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003701/0.6548, allocations: 101.7 kB / 0.7467 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.6549, allocations: 4 kB / 0.7467 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/0.6578, allocations: 2.799 MB / 0.7494 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6578, allocations: 4.062 kB / 0.7494 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.6586, allocations: 418.4 kB / 0.7498 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.6587, allocations: 120.7 kB / 0.7499 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.6588, allocations: 7.938 kB / 0.7499 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.659, allocations: 11.98 kB / 0.75 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.659, allocations: 19.97 kB / 0.75 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.6591, allocations: 4 kB / 0.75 GB, free: 1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001409/0.6592, allocations: 160.5 kB / 0.7501 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.6592, allocations: 4 kB / 0.7501 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006169/0.6598, allocations: 171.4 kB / 0.7503 GB, free: 0.6758 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001494/0.66, allocations: 111.3 kB / 0.7504 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001835/0.6618, allocations: 0.7529 MB / 0.7511 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6619, allocations: 0 / 0.7511 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/0.6626, allocations: 365.8 kB / 0.7515 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.6631, allocations: 48.64 kB / 0.7515 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.6642, allocations: 0.7266 MB / 0.7522 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.6646, allocations: 0.8106 MB / 0.753 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.6648, allocations: 58.25 kB / 0.7531 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.6649, allocations: 15.44 kB / 0.7531 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.6649, allocations: 4 kB / 0.7531 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.00819/0.6731, allocations: 4.318 MB / 0.7573 GB, free: 9.379 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)