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/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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.001169/0.001169, allocations: 181.6 kB / 326.5 MB, free: 2.688 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.587/1.587, allocations: 205 MB / 0.5767 GB, free: 21.02 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.0007016/0.0007017, allocations: 98.22 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 12.81 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1812, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01653/0.1978, allocations: 21.91 MB / 0.9181 GB, free: 46.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.2176, allocations: 17.69 MB / 0.9354 GB, free: 28.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.2208, allocations: 107.4 kB / 0.9355 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0083/0.2292, allocations: 3.899 MB / 0.9393 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009097/0.2383, allocations: 3.2 MB / 0.9425 GB, free: 21.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.2412, allocations: 1.184 MB / 0.9436 GB, free: 20.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007077/0.2483, allocations: 7.052 MB / 0.9505 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004134/0.2525, allocations: 2.483 MB / 0.9529 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003509/0.256, allocations: 2.07 MB / 0.9549 GB, free: 8.309 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003838/0.2598, allocations: 2.291 MB / 0.9572 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0007403/0.2606, allocations: 176 kB / 0.9573 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002241/0.2628, allocations: 1.061 MB / 0.9584 GB, free: 4.773 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007092/0.2636, allocations: 0.9729 MB / 0.9593 GB, free: 3.797 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.2653, allocations: 1.768 MB / 0.9611 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.2699, allocations: 4.943 MB / 0.9659 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2699, allocations: 0 / 0.9659 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2699, allocations: 0 / 0.9659 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.656e-05/0.27, allocations: 0 / 0.9659 GB, free: 13.05 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.009426/0.2795, allocations: 4.068 MB / 0.9699 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.2795, allocations: 8.031 kB / 0.9699 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.295, allocations: 3.367 MB / 0.9732 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.2992, allocations: 2.084 MB / 0.9752 GB, free: 3.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003683/0.2996, allocations: 462.3 kB / 0.9756 GB, free: 2.824 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/0.3, allocations: 239.9 kB / 0.9759 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00999/0.31, allocations: 4.88 MB / 0.9806 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.3101, allocations: 0 / 0.9806 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.3104, allocations: 99.98 kB / 0.9807 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001927/0.3106, allocations: 172.8 kB / 0.9809 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.3231, allocations: 5.319 MB / 0.9861 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02267/0.3458, allocations: 14.6 MB / 1 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009755/0.3556, allocations: 3.691 MB / 1.004 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003631/0.3593, allocations: 1.596 MB / 1.006 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.3595, allocations: 25.3 kB / 1.006 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004259/0.3637, allocations: 1.915 MB / 1.007 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 5.42e-06/0.3638, allocations: 4 kB / 1.007 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1218/0.4856, allocations: 34.13 MB / 1.041 GB, free: 14.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002937/0.4859, allocations: 0.4889 MB / 1.041 GB, free: 13.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003944/0.4899, allocations: 2.296 MB / 1.043 GB, free: 11.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003429/0.4903, allocations: 77.7 kB / 1.044 GB, free: 11.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.4916, allocations: 1.434 MB / 1.045 GB, free: 10.09 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009391/0.4925, allocations: 0.8163 MB / 1.046 GB, free: 9.258 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004405/0.493, allocations: 186.4 kB / 1.046 GB, free: 9.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4931, allocations: 301.1 kB / 1.046 GB, free: 8.773 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005204/0.4983, allocations: 2.124 MB / 1.048 GB, free: 6.645 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005437/0.5038, allocations: 2.415 MB / 1.051 GB, free: 4.145 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.433/0.9367, allocations: 4.535 MB / 1.055 GB, free: 143.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.9368, allocations: 1.531 kB / 1.055 GB, free: 143.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01902/0.9558, allocations: 6.909 MB / 1.062 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.956, allocations: 152.1 kB / 1.062 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.956, allocations: 5.969 kB / 1.062 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0107/0.9667, allocations: 2.929 MB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/0.9698, allocations: 0.5743 MB / 1.065 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03326/1.003, allocations: 17.37 MB / 1.082 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003721/1.007, allocations: 422.3 kB / 1.083 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/1.007, allocations: 92.62 kB / 1.083 GB, free: 135.7 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 (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.001377/1.008, allocations: 0.7065 MB / 1.084 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006207/1.009, allocations: 333.1 kB / 1.084 GB, free: 135.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005688/1.01, allocations: 376.5 kB / 1.084 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/1.01, allocations: 15.7 kB / 1.084 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.01, allocations: 0.5312 kB / 1.084 GB, free: 135 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.011, allocations: 0.7017 MB / 1.085 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/1.011, allocations: 52.33 kB / 1.085 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.015, allocations: 410.6 kB / 1.085 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001154/1.016, allocations: 414.6 kB / 1.086 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01551/1.031, allocations: 6.702 MB / 1.092 GB, free: 131.7 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01388/1.045, allocations: 7.075 MB / 1.099 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004397/1.05, allocations: 2.326 MB / 1.101 GB, free: 124.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001989/1.052, allocations: 1.536 MB / 1.103 GB, free: 122.7 MB / 0.698 GB Notification: Performance of Backend: time 5.61e-07/1.052, allocations: 0 / 1.103 GB, free: 122.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0174/1.069, allocations: 5.308 MB / 1.108 GB, free: 117.4 MB / 0.698 GB Notification: Performance of SimCode: time 0.01004/1.079, allocations: 8.787 MB / 1.117 GB, free: 108.6 MB / 0.698 GB Notification: Performance of Templates: time 0.09147/1.171, allocations: 75.5 MB / 1.19 GB, free: 33.64 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (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)