Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.79/1.79, allocations: 288.4 MB / 304.3 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009468/0.0009469, allocations: 185.8 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.622/1.622, allocations: 205.4 MB / 0.6316 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008224/0.0008226, allocations: 92.7 kB / 0.745 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004227, allocations: 12.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1981, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0195/0.2176, allocations: 20.26 MB / 1.001 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02216/0.2399, allocations: 16.51 MB / 1.017 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/0.2432, allocations: 107.4 kB / 1.017 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.2459, allocations: 0.5502 MB / 1.017 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01181/0.2577, allocations: 3.039 MB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004657/0.2624, allocations: 0.9512 MB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01062/0.273, allocations: 5.965 MB / 1.027 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00623/0.2793, allocations: 2.546 MB / 1.029 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005231/0.2846, allocations: 1.969 MB / 1.031 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00533/0.2899, allocations: 2.214 MB / 1.034 GB, free: 5.02 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.2913, allocations: 176 kB / 1.034 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003542/0.2949, allocations: 1.018 MB / 1.035 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.2972, allocations: 0.9536 MB / 1.036 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.004925/0.3021, allocations: 1.7 MB / 1.037 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.006811/0.309, allocations: 3.962 MB / 1.041 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.309, allocations: 8 kB / 1.041 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.875e-06/0.309, allocations: 0 / 1.041 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002387/0.3093, allocations: 0 / 1.041 GB, free: 13.18 MB / 0.6667 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.01168/0.321, allocations: 4.064 MB / 1.045 GB, free: 9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.507e-05/0.3211, allocations: 8.031 kB / 1.045 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01672/0.3378, allocations: 3.367 MB / 1.048 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006007/0.3438, allocations: 2.088 MB / 1.051 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000568/0.3444, allocations: 470.2 kB / 1.051 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.3457, allocations: 243.9 kB / 1.051 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.3596, allocations: 4.838 MB / 1.056 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.819e-05/0.3598, allocations: 7.938 kB / 1.056 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008139/0.3606, allocations: 108 kB / 1.056 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002341/0.3608, allocations: 176.8 kB / 1.056 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.3756, allocations: 5.3 MB / 1.061 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5191/0.8948, allocations: 14.6 MB / 1.076 GB, free: 77.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.906, allocations: 3.671 MB / 1.079 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004405/0.9105, allocations: 1.589 MB / 1.081 GB, free: 75.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.9107, allocations: 26.06 kB / 1.081 GB, free: 75.92 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004937/0.9156, allocations: 1.91 MB / 1.083 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=163): time 6.181e-06/0.9156, allocations: 0.8438 kB / 1.083 GB, free: 75.31 MB / 0.6823 GB Notification: Performance of matching and sorting (n=250): time 0.129/1.045, allocations: 34.11 MB / 1.116 GB, free: 64.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/1.045, allocations: 0.4889 MB / 1.116 GB, free: 64.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/1.048, allocations: 2.279 MB / 1.119 GB, free: 63.02 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005177/1.048, allocations: 76.27 kB / 1.119 GB, free: 62.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009653/1.049, allocations: 1.429 MB / 1.12 GB, free: 61.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000813/1.05, allocations: 0.8289 MB / 1.121 GB, free: 60.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.05, allocations: 46.81 kB / 1.121 GB, free: 60.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.05, allocations: 392 kB / 1.121 GB, free: 60.58 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/1.055, allocations: 2.107 MB / 1.123 GB, free: 58.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004902/1.06, allocations: 2.408 MB / 1.126 GB, free: 55.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009147/1.069, allocations: 4.529 MB / 1.13 GB, free: 51.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/1.069, allocations: 0 / 1.13 GB, free: 51.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01646/1.086, allocations: 6.889 MB / 1.137 GB, free: 44.35 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.311e-05/1.086, allocations: 150.2 kB / 1.137 GB, free: 44.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/1.086, allocations: 4 kB / 1.137 GB, free: 44.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009385/1.095, allocations: 2.952 MB / 1.14 GB, free: 41.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.098, allocations: 0.5657 MB / 1.141 GB, free: 40.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03228/1.131, allocations: 17.32 MB / 1.157 GB, free: 23.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/1.135, allocations: 419.6 kB / 1.158 GB, free: 22.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/1.135, allocations: 91.97 kB / 1.158 GB, free: 22.61 MB / 0.6823 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.001442/1.137, allocations: 0.7078 MB / 1.159 GB, free: 21.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006112/1.137, allocations: 332.1 kB / 1.159 GB, free: 21.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005764/1.138, allocations: 380.1 kB / 1.159 GB, free: 21.19 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/1.138, allocations: 11.95 kB / 1.159 GB, free: 21.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.138, allocations: 7.969 kB / 1.159 GB, free: 21.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/1.139, allocations: 0.7031 MB / 1.16 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004687/1.14, allocations: 47.98 kB / 1.16 GB, free: 20.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003166/1.143, allocations: 407.6 kB / 1.16 GB, free: 20 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/1.144, allocations: 429.2 kB / 1.161 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01763/1.162, allocations: 6.689 MB / 1.167 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01583/1.177, allocations: 7.052 MB / 1.174 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004878/1.182, allocations: 2.314 MB / 1.177 GB, free: 3.562 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002083/1.185, allocations: 1.513 MB / 1.178 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of Backend: time 4.21e-07/1.185, allocations: 0 / 1.178 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0201/1.205, allocations: 5.302 MB / 1.183 GB, free: 12.69 MB / 0.698 GB Notification: Performance of SimCode: time 0.01436/1.219, allocations: 8.417 MB / 1.191 GB, free: 4.242 MB / 0.698 GB Notification: Performance of Templates: time 0.1278/1.347, allocations: 74.34 MB / 1.264 GB, free: 10.5 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)