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.379/1.379, allocations: 252 MB / 268 MB, free: 10.85 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.0009397/0.0009397, allocations: 182.4 kB / 327.6 MB, free: 2.078 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.416/1.416, allocations: 205.4 MB / 0.5786 GB, free: 20.49 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.0007588/0.0007589, allocations: 90 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 6.062 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 106.3 MB / 0.9014 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01571/0.172, allocations: 21.52 MB / 0.9225 GB, free: 42.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01843/0.1905, allocations: 17.49 MB / 0.9395 GB, free: 24.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002951/0.1935, allocations: 99.44 kB / 0.9396 GB, free: 24.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.1955, allocations: 0.5814 MB / 0.9402 GB, free: 23.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008482/0.204, allocations: 3.199 MB / 0.9433 GB, free: 20.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002786/0.2068, allocations: 1.18 MB / 0.9445 GB, free: 19.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006582/0.2134, allocations: 7.062 MB / 0.9514 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003604/0.217, allocations: 2.546 MB / 0.9539 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.2203, allocations: 2.077 MB / 0.9559 GB, free: 7.777 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.2239, allocations: 2.295 MB / 0.9581 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.2251, allocations: 176 kB / 0.9583 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.2277, allocations: 1.057 MB / 0.9593 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.2291, allocations: 0.9769 MB / 0.9603 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.003084/0.2322, allocations: 1.777 MB / 0.962 GB, free: 1.469 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004949/0.2372, allocations: 3.966 MB / 0.9659 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2372, allocations: 0 / 0.9659 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2373, allocations: 0 / 0.9659 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001864/0.2374, allocations: 0 / 0.9659 GB, free: 13.49 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.009282/0.2467, allocations: 4.072 MB / 0.9699 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2468, allocations: 12.03 kB / 0.9699 GB, free: 9.297 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01634/0.2632, allocations: 3.367 MB / 0.9732 GB, free: 5.918 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/0.2674, allocations: 2.08 MB / 0.9752 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/0.2678, allocations: 470.3 kB / 0.9757 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005598/0.2684, allocations: 231.9 kB / 0.9759 GB, free: 3.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.2794, allocations: 4.873 MB / 0.9806 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.475e-05/0.2794, allocations: 0 / 0.9806 GB, free: 14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003245/0.2798, allocations: 112 kB / 0.9807 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.28, allocations: 172.8 kB / 0.9809 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.2943, allocations: 5.312 MB / 0.9861 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/0.3174, allocations: 14.6 MB / 1 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/0.3277, allocations: 3.683 MB / 1.004 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003977/0.3317, allocations: 1.596 MB / 1.006 GB, free: 3.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.3319, allocations: 25.3 kB / 1.006 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004483/0.3364, allocations: 1.934 MB / 1.007 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 6.422e-06/0.3364, allocations: 0 / 1.007 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1341/0.4705, allocations: 34.13 MB / 1.041 GB, free: 14.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/0.4707, allocations: 0.4889 MB / 1.041 GB, free: 14.35 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/0.4739, allocations: 2.292 MB / 1.043 GB, free: 12.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004282/0.4743, allocations: 81.69 kB / 1.044 GB, free: 11.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.4755, allocations: 1.434 MB / 1.045 GB, free: 10.51 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008518/0.4763, allocations: 0.8163 MB / 1.046 GB, free: 9.684 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.4765, allocations: 48 kB / 1.046 GB, free: 9.637 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4767, allocations: 398.7 kB / 1.046 GB, free: 9.242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005531/0.4823, allocations: 2.12 MB / 1.048 GB, free: 7.117 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005903/0.4882, allocations: 2.413 MB / 1.051 GB, free: 4.621 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3366/0.8248, allocations: 4.537 MB / 1.055 GB, free: 141.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/0.8249, allocations: 2.594 kB / 1.055 GB, free: 141.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0196/0.8445, allocations: 6.91 MB / 1.062 GB, free: 140.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.839e-05/0.8446, allocations: 152.7 kB / 1.062 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.8447, allocations: 5.797 kB / 1.062 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/0.8558, allocations: 2.945 MB / 1.065 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/0.8591, allocations: 0.5743 MB / 1.065 GB, free: 140.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03638/0.8955, allocations: 17.35 MB / 1.082 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005268/0.9008, allocations: 414.9 kB / 1.083 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005149/0.9014, allocations: 94.36 kB / 1.083 GB, free: 134.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 ($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 (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 {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.001922/0.9033, allocations: 0.7033 MB / 1.083 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007819/0.9041, allocations: 334 kB / 1.084 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.9048, allocations: 377.9 kB / 1.084 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.9049, allocations: 23.12 kB / 1.084 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-05/0.9049, allocations: 13.31 kB / 1.084 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.9049, allocations: 12.61 kB / 1.084 GB, free: 134 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004372/0.9093, allocations: 3.632 MB / 1.088 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.061e-05/0.9094, allocations: 3.125 kB / 1.088 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004071/0.9134, allocations: 0.4987 MB / 1.088 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01295/0.9264, allocations: 2.871 MB / 1.091 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004183/0.9269, allocations: 52.95 kB / 1.091 GB, free: 131.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03151/0.9584, allocations: 17.15 MB / 1.108 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9585, allocations: 0 / 1.108 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01659/0.9751, allocations: 6.548 MB / 1.114 GB, free: 110.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/0.9766, allocations: 0.6961 MB / 1.115 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004888/0.9771, allocations: 55.98 kB / 1.115 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003289/0.9804, allocations: 414.8 kB / 1.115 GB, free: 109 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/0.9815, allocations: 354.5 kB / 1.116 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/0.9818, allocations: 71.91 kB / 1.116 GB, free: 108.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001668/0.9834, allocations: 1.538 MB / 1.117 GB, free: 107 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9834, allocations: 0 / 1.117 GB, free: 107 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002755/0.9862, allocations: 1.043 MB / 1.118 GB, free: 106 MB / 0.698 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 (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,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003522/0.9866, allocations: 167 kB / 1.118 GB, free: 105.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02215/1.009, allocations: 6.834 MB / 1.125 GB, free: 98.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.996e-06/1.009, allocations: 8.188 kB / 1.125 GB, free: 98.89 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01667/1.025, allocations: 4.23 MB / 1.129 GB, free: 94.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004783/1.03, allocations: 1.04 MB / 1.13 GB, free: 93.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.043, allocations: 8.335 MB / 1.138 GB, free: 85.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/1.044, allocations: 2.234 MB / 1.141 GB, free: 83.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.046, allocations: 195.4 kB / 1.141 GB, free: 82.83 MB / 0.698 GB Notification: Performance of SimCode: time 7.52e-07/1.046, allocations: 0 / 1.141 GB, free: 82.83 MB / 0.698 GB Notification: Performance of Templates: time 0.07792/1.123, allocations: 79.56 MB / 1.218 GB, free: 3.535 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)