Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001077/0.001077, allocations: 101.2 kB / 16.27 MB, free: 6.406 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.001044/0.001044, allocations: 190.8 kB / 17.2 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 205.1 MB / 223.1 MB, free: 12.35 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.3 MB / 0.5495 GB, free: 17.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 75.89 kB / 0.6722 GB, free: 6.562 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2321, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.4183/0.6504, allocations: 22.42 MB / 0.8059 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02298/0.6735, allocations: 17.74 MB / 0.8232 GB, free: 24.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004036/0.6775, allocations: 114.3 kB / 0.8234 GB, free: 24.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01016/0.6877, allocations: 4.161 MB / 0.8274 GB, free: 22.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01233/0.7001, allocations: 3.506 MB / 0.8308 GB, free: 20.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.7047, allocations: 1.314 MB / 0.8321 GB, free: 19.66 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01014/0.7148, allocations: 5.776 MB / 0.8378 GB, free: 16.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007358/0.7222, allocations: 3.601 MB / 0.8413 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005684/0.7279, allocations: 2.4 MB / 0.8436 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006054/0.734, allocations: 2.447 MB / 0.846 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002093/0.7361, allocations: 369.2 kB / 0.8464 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004194/0.7403, allocations: 1.034 MB / 0.8474 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.7432, allocations: 1.196 MB / 0.8485 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.006507/0.7497, allocations: 1.997 MB / 0.8505 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.7604, allocations: 5.12 MB / 0.8555 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.7604, allocations: 4 kB / 0.8555 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.295e-06/0.7604, allocations: 3.984 kB / 0.8555 GB, free: 8.625 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002567/0.7607, allocations: 1.406 kB / 0.8555 GB, free: 8.625 MB / 0.6544 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.01596/0.7767, allocations: 4.613 MB / 0.86 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.7767, allocations: 10.41 kB / 0.86 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/0.794, allocations: 3.27 MB / 0.8632 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006338/0.8004, allocations: 2.079 MB / 0.8652 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005066/0.8009, allocations: 467.1 kB / 0.8657 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/0.8025, allocations: 239.2 kB / 0.8659 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01496/0.8175, allocations: 4.814 MB / 0.8706 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.983e-05/0.8176, allocations: 5.562 kB / 0.8706 GB, free: 15.1 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005577/0.8181, allocations: 100.9 kB / 0.8707 GB, free: 15.03 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002631/0.8184, allocations: 169.2 kB / 0.8709 GB, free: 14.99 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.8344, allocations: 5.2 MB / 0.876 GB, free: 12.34 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02713/0.8616, allocations: 14.48 MB / 0.8901 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.8719, allocations: 3.398 MB / 0.8934 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003981/0.8759, allocations: 1.463 MB / 0.8949 GB, free: 7.836 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.8761, allocations: 33.23 kB / 0.8949 GB, free: 7.801 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004589/0.8807, allocations: 1.787 MB / 0.8966 GB, free: 5.949 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 6.182e-06/0.8807, allocations: 4 kB / 0.8966 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1369/1.018, allocations: 28.21 MB / 0.9242 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004233/1.018, allocations: 0.4928 MB / 0.9247 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004173/1.022, allocations: 2.304 MB / 0.9269 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006091/1.023, allocations: 77.7 kB / 0.927 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.024, allocations: 1.43 MB / 0.9284 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001165/1.026, allocations: 0.8201 MB / 0.9292 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/1.027, allocations: 416.5 kB / 0.9296 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.027, allocations: 305.1 kB / 0.9299 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005648/1.033, allocations: 1.929 MB / 0.9318 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005935/1.039, allocations: 2.231 MB / 0.9339 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/1.05, allocations: 4.158 MB / 0.938 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/1.051, allocations: 0 / 0.938 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02016/1.071, allocations: 6.539 MB / 0.9444 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/1.071, allocations: 152.5 kB / 0.9445 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.071, allocations: 8 kB / 0.9445 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/1.081, allocations: 2.946 MB / 0.9474 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003019/1.084, allocations: 491.2 kB / 0.9479 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04217/1.127, allocations: 18.84 MB / 0.9663 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004736/1.131, allocations: 327.6 kB / 0.9666 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005744/1.132, allocations: 87.97 kB / 0.9667 GB, free: 13.23 MB / 0.7637 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.002143/1.134, allocations: 0.7066 MB / 0.9674 GB, free: 12.51 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/1.135, allocations: 332.1 kB / 0.9677 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/1.136, allocations: 384.1 kB / 0.9681 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/1.136, allocations: 24 kB / 0.9681 GB, free: 11.78 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.703e-05/1.136, allocations: 8 kB / 0.9681 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/1.136, allocations: 15.95 kB / 0.9681 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006031/1.142, allocations: 3.62 MB / 0.9716 GB, free: 8.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/1.142, allocations: 3.984 kB / 0.9716 GB, free: 8.07 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002614/1.145, allocations: 419.3 kB / 0.972 GB, free: 7.66 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01031/1.155, allocations: 2.892 MB / 0.9749 GB, free: 4.762 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003852/1.156, allocations: 48.72 kB / 0.9749 GB, free: 4.715 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04128/1.197, allocations: 18.63 MB / 0.9931 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.197, allocations: 0 / 0.9931 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01974/1.217, allocations: 6.181 MB / 0.9991 GB, free: 11.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002476/1.219, allocations: 0.6961 MB / 0.9998 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/1.221, allocations: 47.98 kB / 0.9999 GB, free: 10.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004156/1.225, allocations: 314.3 kB / 1 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/1.226, allocations: 354.7 kB / 1.001 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004158/1.227, allocations: 68.53 kB / 1.001 GB, free: 10.09 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003572/1.23, allocations: 1.54 MB / 1.002 GB, free: 8.551 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.7e-07/1.23, allocations: 0 / 1.002 GB, free: 8.551 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.005342/1.236, allocations: 1.043 MB / 1.003 GB, free: 7.508 MB / 0.795 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.0006934/1.236, allocations: 168.1 kB / 1.003 GB, free: 7.336 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02806/1.264, allocations: 7.305 MB / 1.01 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.264, allocations: 8.062 kB / 1.01 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01851/1.283, allocations: 4.045 MB / 1.014 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007214/1.29, allocations: 1.142 MB / 1.015 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01982/1.31, allocations: 6.957 MB / 1.022 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/1.313, allocations: 2.231 MB / 1.024 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/1.315, allocations: 203.4 kB / 1.025 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of SimCode: time 1.092e-06/1.315, allocations: 0 / 1.025 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of Templates: time 0.1293/1.444, allocations: 79.96 MB / 1.103 GB, free: 1.801 MB / 0.8887 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)