Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008659/0.0008657, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001032/0.001032, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.678/1.678, allocations: 252 MB / 0.5102 GB, free: 4.809 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.0005686/0.0005691, allocations: 16 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.5589, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02184/0.5808, allocations: 20.26 MB / 0.7479 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02549/0.6064, allocations: 16.51 MB / 0.764 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005084/0.6116, allocations: 107.4 kB / 0.7641 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.614, allocations: 0.558 MB / 0.7647 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01256/0.6266, allocations: 2.88 MB / 0.7675 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.6308, allocations: 0.9604 MB / 0.7684 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.6414, allocations: 5.927 MB / 0.7742 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004377/0.6458, allocations: 2.063 MB / 0.7762 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.6503, allocations: 1.969 MB / 0.7781 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005557/0.6559, allocations: 2.218 MB / 0.7803 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001578/0.6575, allocations: 180 kB / 0.7805 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.6606, allocations: 0.4994 MB / 0.781 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002049/0.6626, allocations: 0.9498 MB / 0.7819 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002016/0.6647, allocations: 0.6951 MB / 0.7826 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007328/0.672, allocations: 3.927 MB / 0.7864 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.6721, allocations: 0 / 0.7864 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.338e-06/0.6721, allocations: 0 / 0.7864 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.00036/0.6725, allocations: 0 / 0.7864 GB, free: 15.51 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01331/0.6858, allocations: 4.115 MB / 0.7904 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.6858, allocations: 12.03 kB / 0.7904 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01604/0.7019, allocations: 3.366 MB / 0.7937 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00656/0.7085, allocations: 1.987 MB / 0.7957 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006891/0.7092, allocations: 461.7 kB / 0.7961 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.7107, allocations: 236 kB / 0.7963 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01566/0.7264, allocations: 4.853 MB / 0.8011 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.7266, allocations: 0 / 0.8011 GB, free: 104 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.7277, allocations: 104.2 kB / 0.8012 GB, free: 0 / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003017/0.728, allocations: 180.8 kB / 0.8013 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.7432, allocations: 5.292 MB / 0.8065 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/0.7725, allocations: 14.58 MB / 0.8208 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.7829, allocations: 3.671 MB / 0.8243 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004051/0.787, allocations: 1.596 MB / 0.8259 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.7873, allocations: 21.3 kB / 0.8259 GB, free: 5.457 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004637/0.7919, allocations: 1.916 MB / 0.8278 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 6.623e-06/0.7919, allocations: 4 kB / 0.8278 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.1232/0.9152, allocations: 34.08 MB / 0.8611 GB, free: 1.156 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003308/0.9156, allocations: 0.4928 MB / 0.8616 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004196/0.9198, allocations: 2.273 MB / 0.8638 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0005308/0.9203, allocations: 73.7 kB / 0.8639 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.9218, allocations: 1.438 MB / 0.8653 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00113/0.9229, allocations: 0.8201 MB / 0.8661 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.9233, allocations: 48 kB / 0.8661 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002111/0.9235, allocations: 402.6 kB / 0.8665 GB, free: 11.46 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00526/0.9288, allocations: 2.112 MB / 0.8686 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005655/0.9345, allocations: 2.403 MB / 0.8709 GB, free: 6.852 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00571/0.9402, allocations: 2.296 MB / 0.8731 GB, free: 4.504 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.9403, allocations: 3.938 kB / 0.8731 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01869/0.959, allocations: 6.88 MB / 0.8799 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.9591, allocations: 148.5 kB / 0.88 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.9592, allocations: 4 kB / 0.88 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009593/0.9688, allocations: 2.946 MB / 0.8829 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.9718, allocations: 0.5773 MB / 0.8834 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03816/1.01, allocations: 17.31 MB / 0.9004 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004133/1.014, allocations: 415.6 kB / 0.9007 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005647/1.015, allocations: 83.98 kB / 0.9008 GB, free: 7.793 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002098/1.017, allocations: 0.7105 MB / 0.9015 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/1.018, allocations: 332.1 kB / 0.9018 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/1.019, allocations: 384.1 kB / 0.9022 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/1.019, allocations: 24 kB / 0.9022 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.848e-05/1.019, allocations: 11.95 kB / 0.9022 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/1.019, allocations: 15.95 kB / 0.9023 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005982/1.025, allocations: 3.628 MB / 0.9058 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.9e-05/1.025, allocations: 7.953 kB / 0.9058 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00248/1.028, allocations: 0.4957 MB / 0.9063 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4934/1.521, allocations: 2.857 MB / 0.9091 GB, free: 164 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006341/1.522, allocations: 50.92 kB / 0.9091 GB, free: 164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03742/1.559, allocations: 17.11 MB / 0.9258 GB, free: 157.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.559, allocations: 1.531 kB / 0.9258 GB, free: 157.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.575, allocations: 6.524 MB / 0.9322 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/1.577, allocations: 0.701 MB / 0.9329 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007051/1.577, allocations: 51.41 kB / 0.9329 GB, free: 155.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002905/1.58, allocations: 413.7 kB / 0.9333 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00129/1.582, allocations: 365 kB / 0.9337 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/1.582, allocations: 69.41 kB / 0.9338 GB, free: 155 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002088/1.584, allocations: 1.51 MB / 0.9352 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/1.584, allocations: 3.031 kB / 0.9352 GB, free: 154.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00288/1.587, allocations: 1.044 MB / 0.9363 GB, free: 154.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003556/1.587, allocations: 161.8 kB / 0.9364 GB, free: 154.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02012/1.607, allocations: 6.829 MB / 0.9431 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.607, allocations: 4 kB / 0.9431 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01529/1.623, allocations: 4.229 MB / 0.9472 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005336/1.628, allocations: 1.044 MB / 0.9482 GB, free: 145.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/1.641, allocations: 7.754 MB / 0.9558 GB, free: 137.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/1.643, allocations: 2.238 MB / 0.958 GB, free: 135.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00257/1.646, allocations: 0.506 MB / 0.9585 GB, free: 134.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006175/1.646, allocations: 175.4 kB / 0.9587 GB, free: 134.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.443e-06/1.646, allocations: 0 / 0.9587 GB, free: 134.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.09635/1.743, allocations: 70.12 MB / 1.027 GB, free: 65.25 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) Environment - environmentSimulation: