Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001165/0.001165, allocations: 107.8 kB / 16.37 MB, free: 6.309 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.001071/0.001071, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.476/1.476, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.865/1.865, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001457/0.001457, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2564, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.3857/0.6421, allocations: 22.42 MB / 0.8067 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02694/0.6691, allocations: 17.75 MB / 0.824 GB, free: 24.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00473/0.6738, allocations: 110.4 kB / 0.8241 GB, free: 24.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.6861, allocations: 4.162 MB / 0.8282 GB, free: 22.15 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/0.6988, allocations: 3.508 MB / 0.8316 GB, free: 20.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005526/0.7043, allocations: 1.315 MB / 0.8329 GB, free: 19.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.7151, allocations: 5.787 MB / 0.8386 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00602/0.7211, allocations: 3.6 MB / 0.8421 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006147/0.7273, allocations: 2.411 MB / 0.8444 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006335/0.7337, allocations: 2.442 MB / 0.8468 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00159/0.7353, allocations: 370 kB / 0.8472 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00393/0.7392, allocations: 1.033 MB / 0.8482 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001929/0.7412, allocations: 1.189 MB / 0.8493 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004507/0.7457, allocations: 2.005 MB / 0.8513 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008562/0.7543, allocations: 5.18 MB / 0.8563 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7543, allocations: 0 / 0.8563 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7543, allocations: 1.344 kB / 0.8563 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001998/0.7545, allocations: 0 / 0.8563 GB, free: 8.199 MB / 0.6544 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.01293/0.7675, allocations: 4.615 MB / 0.8609 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.7675, allocations: 8.656 kB / 0.8609 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/0.7845, allocations: 3.255 MB / 0.864 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005984/0.7905, allocations: 2.231 MB / 0.8662 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003841/0.7909, allocations: 467.3 kB / 0.8667 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007712/0.7917, allocations: 231.2 kB / 0.8669 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.8041, allocations: 4.813 MB / 0.8716 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.059e-05/0.8042, allocations: 13.06 kB / 0.8716 GB, free: 14.61 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003854/0.8045, allocations: 101.9 kB / 0.8717 GB, free: 14.54 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002661/0.8048, allocations: 172.5 kB / 0.8719 GB, free: 14.49 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.82, allocations: 5.192 MB / 0.8769 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02899/0.849, allocations: 14.4 MB / 0.891 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.8592, allocations: 3.39 MB / 0.8943 GB, free: 8.684 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00392/0.8632, allocations: 1.471 MB / 0.8957 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001464/0.8633, allocations: 25.23 kB / 0.8958 GB, free: 7.188 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004512/0.8679, allocations: 1.799 MB / 0.8975 GB, free: 5.324 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 3.877e-06/0.8679, allocations: 4 kB / 0.8975 GB, free: 5.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1352/1.003, allocations: 28.2 MB / 0.9251 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002781/1.003, allocations: 0.4889 MB / 0.9255 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/1.008, allocations: 2.304 MB / 0.9278 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005961/1.009, allocations: 81.7 kB / 0.9279 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001648/1.01, allocations: 1.434 MB / 0.9293 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001311/1.012, allocations: 0.8201 MB / 0.9301 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001508/1.013, allocations: 416.5 kB / 0.9305 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.013, allocations: 305.1 kB / 0.9308 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005703/1.019, allocations: 1.925 MB / 0.9326 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005905/1.025, allocations: 2.231 MB / 0.9348 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01146/1.036, allocations: 4.161 MB / 0.9389 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.036, allocations: 3.938 kB / 0.9389 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02018/1.057, allocations: 6.54 MB / 0.9453 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/1.057, allocations: 148.5 kB / 0.9454 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.057, allocations: 11.94 kB / 0.9454 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/1.068, allocations: 2.919 MB / 0.9483 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003086/1.071, allocations: 495.2 kB / 0.9487 GB, free: 120 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04348/1.114, allocations: 18.82 MB / 0.9671 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004926/1.119, allocations: 327.6 kB / 0.9674 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006354/1.12, allocations: 87.98 kB / 0.9675 GB, free: 12.64 MB / 0.7637 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 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (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): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.002099/1.122, allocations: 0.7143 MB / 0.9682 GB, free: 11.92 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/1.123, allocations: 332.1 kB / 0.9685 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/1.124, allocations: 384.1 kB / 0.9689 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/1.124, allocations: 14.08 kB / 0.9689 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.124, allocations: 0 / 0.9689 GB, free: 11.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.126, allocations: 0.7 MB / 0.9696 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001043/1.127, allocations: 48 kB / 0.9697 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003979/1.131, allocations: 315.6 kB / 0.97 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/1.132, allocations: 421.3 kB / 0.9704 GB, free: 9.707 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02045/1.153, allocations: 6.178 MB / 0.9764 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01851/1.171, allocations: 6.505 MB / 0.9827 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0059/1.177, allocations: 2.143 MB / 0.9848 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003307/1.18, allocations: 1.528 MB / 0.9863 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of Backend: time 6.61e-07/1.181, allocations: 0 / 0.9863 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02368/1.204, allocations: 5.133 MB / 0.9913 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of SimCode: time 0.01588/1.22, allocations: 7.578 MB / 0.9987 GB, free: 12.57 MB / 0.795 GB Notification: Performance of Templates: time 0.1309/1.351, allocations: 78.16 MB / 1.075 GB, free: 15.26 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)