Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001454/0.001454, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001672/0.001672, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002295/0.002295, allocations: 294.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9637/0.9637, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002827/0.002827, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4887, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02542/0.5142, allocations: 22.62 MB / 0.7892 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02556/0.5398, allocations: 17.63 MB / 0.8064 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.5435, allocations: 111.4 kB / 0.8065 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01093/0.5545, allocations: 4.18 MB / 0.8106 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009908/0.5644, allocations: 3.573 MB / 0.8141 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003326/0.5677, allocations: 1.315 MB / 0.8154 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007358/0.5751, allocations: 5.808 MB / 0.821 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004747/0.5799, allocations: 3.587 MB / 0.8245 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.5836, allocations: 2.476 MB / 0.8269 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004158/0.5878, allocations: 2.448 MB / 0.8293 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001023/0.5888, allocations: 368 kB / 0.8297 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002475/0.5913, allocations: 1.03 MB / 0.8307 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.5927, allocations: 1.203 MB / 0.8319 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002223/0.5949, allocations: 1.99 MB / 0.8338 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005196/0.6001, allocations: 5.186 MB / 0.8389 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6001, allocations: 0 / 0.8389 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6001, allocations: 0 / 0.8389 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.971e-05/0.6002, allocations: 0 / 0.8389 GB, free: 10.13 MB / 0.6075 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.009081/0.6093, allocations: 4.612 MB / 0.8434 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.6093, allocations: 8.031 kB / 0.8434 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.6256, allocations: 3.261 MB / 0.8466 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.6304, allocations: 2.228 MB / 0.8488 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003656/0.6308, allocations: 470.2 kB / 0.8492 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004751/0.6313, allocations: 239.9 kB / 0.8494 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01087/0.6422, allocations: 4.808 MB / 0.8541 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.356e-05/0.6422, allocations: 4 kB / 0.8541 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003383/0.6426, allocations: 107.9 kB / 0.8542 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.6428, allocations: 172.8 kB / 0.8544 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01326/0.6561, allocations: 5.194 MB / 0.8595 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02018/0.6763, allocations: 14.39 MB / 0.8735 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009816/0.6861, allocations: 3.39 MB / 0.8768 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003685/0.6898, allocations: 1.471 MB / 0.8783 GB, free: 204 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.6899, allocations: 21.3 kB / 0.8783 GB, free: 180 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004271/0.6942, allocations: 1.794 MB / 0.88 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=163): time 5.13e-06/0.6942, allocations: 3.984 kB / 0.88 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=250): time 0.1338/0.8281, allocations: 28.24 MB / 0.9076 GB, free: 1.844 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002671/0.8284, allocations: 0.4889 MB / 0.9081 GB, free: 1.246 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/0.832, allocations: 2.3 MB / 0.9103 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.8324, allocations: 77.7 kB / 0.9104 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.8336, allocations: 1.434 MB / 0.9118 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008026/0.8344, allocations: 0.8201 MB / 0.9126 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008881/0.8353, allocations: 416.4 kB / 0.913 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.8354, allocations: 309.1 kB / 0.9133 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00535/0.8407, allocations: 1.921 MB / 0.9152 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005601/0.8464, allocations: 2.243 MB / 0.9174 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/0.8572, allocations: 4.158 MB / 0.9214 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.8572, allocations: 0 / 0.9214 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01993/0.8771, allocations: 6.536 MB / 0.9278 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.8773, allocations: 156.5 kB / 0.928 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.212e-05/0.8773, allocations: 4 kB / 0.928 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/0.8878, allocations: 2.922 MB / 0.9308 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002974/0.8908, allocations: 491.2 kB / 0.9313 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04102/0.9318, allocations: 18.83 MB / 0.9497 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004505/0.9364, allocations: 323.6 kB / 0.95 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000501/0.9369, allocations: 87.98 kB / 0.9501 GB, free: 5.59 MB / 0.7169 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.001907/0.9388, allocations: 0.7084 MB / 0.9508 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009498/0.9398, allocations: 328.2 kB / 0.9511 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/0.9408, allocations: 380.1 kB / 0.9515 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/0.9408, allocations: 11.95 kB / 0.9515 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/0.9408, allocations: 0 / 0.9515 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/0.9426, allocations: 0.7077 MB / 0.9522 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008093/0.9434, allocations: 48 kB / 0.9522 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/0.9471, allocations: 315.6 kB / 0.9525 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/0.9483, allocations: 417.3 kB / 0.9529 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01894/0.9672, allocations: 6.178 MB / 0.9589 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01672/0.984, allocations: 6.509 MB / 0.9653 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005315/0.9893, allocations: 2.143 MB / 0.9674 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002804/0.9921, allocations: 1.532 MB / 0.9689 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of Backend: time 5.21e-07/0.9921, allocations: 0 / 0.9689 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3383/1.33, allocations: 5.12 MB / 0.9739 GB, free: 189.8 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01193/1.342, allocations: 7.584 MB / 0.9813 GB, free: 186.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.09597/1.438, allocations: 78.95 MB / 1.058 GB, free: 120.6 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)