Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 179.7 kB / 326.5 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205 MB / 0.5767 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007571/0.0007572, allocations: 85.31 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.0002889, allocations: 13.12 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1729, allocations: 105.4 MB / 0.8967 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01691/0.1899, allocations: 21.89 MB / 0.9181 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01909/0.209, allocations: 17.7 MB / 0.9354 GB, free: 28.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.2126, allocations: 107.4 kB / 0.9355 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.008319/0.221, allocations: 3.89 MB / 0.9393 GB, free: 24.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009378/0.2304, allocations: 3.205 MB / 0.9424 GB, free: 21.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.2332, allocations: 1.174 MB / 0.9436 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006484/0.2397, allocations: 6.872 MB / 0.9503 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002832/0.2425, allocations: 2.425 MB / 0.9527 GB, free: 10.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003017/0.2456, allocations: 1.972 MB / 0.9546 GB, free: 8.738 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002721/0.2483, allocations: 2.245 MB / 0.9568 GB, free: 6.484 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0004624/0.2488, allocations: 164 kB / 0.9569 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.2507, allocations: 1.041 MB / 0.958 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007354/0.2515, allocations: 0.9495 MB / 0.9589 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.2532, allocations: 1.725 MB / 0.9606 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004408/0.2576, allocations: 4.842 MB / 0.9653 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.2576, allocations: 0 / 0.9653 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2576, allocations: 0 / 0.9653 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001381/0.2578, allocations: 0 / 0.9653 GB, free: 13.73 MB / 0.6198 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.007608/0.2654, allocations: 3.838 MB / 0.969 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.2655, allocations: 8.031 kB / 0.9691 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0155/0.281, allocations: 3.359 MB / 0.9723 GB, free: 6.406 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00425/0.2853, allocations: 2.06 MB / 0.9743 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.2855, allocations: 177.1 kB / 0.9745 GB, free: 4.102 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006848/0.2862, allocations: 244 kB / 0.9747 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009923/0.2961, allocations: 4.74 MB / 0.9794 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.2962, allocations: 0 / 0.9794 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002917/0.2965, allocations: 112 kB / 0.9795 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.2967, allocations: 168.8 kB / 0.9796 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.3091, allocations: 5.241 MB / 0.9848 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.331, allocations: 14.12 MB / 0.9986 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/0.3416, allocations: 3.858 MB / 1.002 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003522/0.3452, allocations: 1.51 MB / 1.004 GB, free: 4.773 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.3454, allocations: 33.22 kB / 1.004 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00406/0.3494, allocations: 1.82 MB / 1.006 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 6.613e-06/0.3495, allocations: 0 / 1.006 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1132/0.4626, allocations: 33.44 MB / 1.038 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002311/0.4629, allocations: 0.4966 MB / 1.039 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00369/0.4666, allocations: 2.296 MB / 1.041 GB, free: 14.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003849/0.467, allocations: 77.7 kB / 1.041 GB, free: 14.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.4683, allocations: 1.434 MB / 1.042 GB, free: 12.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009281/0.4693, allocations: 0.8241 MB / 1.043 GB, free: 11.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004251/0.4697, allocations: 186.4 kB / 1.043 GB, free: 11.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.4698, allocations: 301.1 kB / 1.044 GB, free: 11.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004922/0.4747, allocations: 1.929 MB / 1.046 GB, free: 9.496 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005081/0.4798, allocations: 2.231 MB / 1.048 GB, free: 7.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009621/0.4895, allocations: 4.22 MB / 1.052 GB, free: 2.824 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.4895, allocations: 0 / 1.052 GB, free: 2.824 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.3951/0.8846, allocations: 6.188 MB / 1.058 GB, free: 144.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.8849, allocations: 415.7 kB / 1.058 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.8849, allocations: 2.938 kB / 1.058 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006941/0.8919, allocations: 1.854 MB / 1.06 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003825/0.8957, allocations: 0.5854 MB / 1.061 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02776/0.9235, allocations: 14.19 MB / 1.075 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003853/0.9274, allocations: 406.6 kB / 1.075 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004198/0.9279, allocations: 89.31 kB / 1.075 GB, free: 139.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.9279, allocations: 3.5 kB / 1.075 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01318/0.9411, allocations: 5.782 MB / 1.081 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.9412, allocations: 8 kB / 1.081 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005144/0.9463, allocations: 1.818 MB / 1.083 GB, free: 136.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003102/0.9494, allocations: 0.607 MB / 1.083 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/0.9686, allocations: 13.47 MB / 1.096 GB, free: 128.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/0.9723, allocations: 410.8 kB / 1.097 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004523/0.9728, allocations: 85.67 kB / 1.097 GB, free: 128.6 MB / 0.698 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.001663/0.9745, allocations: 0.7805 MB / 1.097 GB, free: 128 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007382/0.9752, allocations: 338 kB / 1.098 GB, free: 127.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006653/0.9759, allocations: 392.3 kB / 1.098 GB, free: 127.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.9759, allocations: 15.95 kB / 1.098 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.942e-06/0.976, allocations: 0 / 1.098 GB, free: 127.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.9772, allocations: 0.6624 MB / 1.099 GB, free: 126.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005084/0.9777, allocations: 48 kB / 1.099 GB, free: 126.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002668/0.9804, allocations: 399.6 kB / 1.099 GB, free: 126.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007268/0.9811, allocations: 349.4 kB / 1.1 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01466/0.9958, allocations: 6.234 MB / 1.106 GB, free: 119.9 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01296/1.009, allocations: 6.597 MB / 1.112 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004267/1.013, allocations: 2.146 MB / 1.114 GB, free: 111.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00272/1.016, allocations: 1.532 MB / 1.116 GB, free: 109.6 MB / 0.698 GB Notification: Performance of Backend: time 7.52e-07/1.016, allocations: 0 / 1.116 GB, free: 109.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02083/1.037, allocations: 8.757 MB / 1.124 GB, free: 100.7 MB / 0.698 GB Notification: Performance of SimCode: time 0.01208/1.049, allocations: 8.756 MB / 1.133 GB, free: 91.95 MB / 0.698 GB Notification: Performance of Templates: time 0.1176/1.166, allocations: 89.59 MB / 1.22 GB, free: 2.945 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)