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.001348/0.001348, allocations: 106.5 kB / 16.35 MB, free: 5.879 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.001549/0.001548, allocations: 193.6 kB / 17.29 MB, free: 5.516 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.417/1.417, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.792/1.792, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001388/0.001388, allocations: 70.88 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2371, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.4473/0.6845, allocations: 22.43 MB / 0.8067 GB, free: 37.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02859/0.7132, allocations: 17.74 MB / 0.824 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004618/0.7178, allocations: 115.9 kB / 0.8241 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.7284, allocations: 4.154 MB / 0.8282 GB, free: 22.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01242/0.7408, allocations: 3.508 MB / 0.8316 GB, free: 20.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004338/0.7452, allocations: 1.314 MB / 0.8329 GB, free: 19.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01112/0.7563, allocations: 5.789 MB / 0.8385 GB, free: 16.76 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007696/0.7641, allocations: 3.602 MB / 0.842 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007144/0.7713, allocations: 2.406 MB / 0.8444 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007056/0.7783, allocations: 2.447 MB / 0.8468 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002886/0.7813, allocations: 368.3 kB / 0.8471 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005684/0.787, allocations: 1.035 MB / 0.8481 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003455/0.7904, allocations: 1.193 MB / 0.8493 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00754/0.798, allocations: 1.996 MB / 0.8513 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.8087, allocations: 5.185 MB / 0.8563 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.8088, allocations: 0 / 0.8563 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8088, allocations: 0 / 0.8563 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001536/0.809, allocations: 0 / 0.8563 GB, free: 8.266 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.01284/0.8218, allocations: 4.619 MB / 0.8608 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.8219, allocations: 9.938 kB / 0.8608 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01602/0.8379, allocations: 3.26 MB / 0.864 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006077/0.844, allocations: 2.083 MB / 0.8661 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.8444, allocations: 470.5 kB / 0.8665 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008784/0.8453, allocations: 239.6 kB / 0.8667 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01189/0.8572, allocations: 4.806 MB / 0.8714 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.219e-05/0.8573, allocations: 5.094 kB / 0.8714 GB, free: 14.75 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003535/0.8577, allocations: 109.7 kB / 0.8715 GB, free: 14.66 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002518/0.8579, allocations: 168.4 kB / 0.8717 GB, free: 14.62 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.8725, allocations: 5.198 MB / 0.8768 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02568/0.8982, allocations: 14.39 MB / 0.8908 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009935/0.9082, allocations: 3.405 MB / 0.8941 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003775/0.912, allocations: 1.459 MB / 0.8956 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.9121, allocations: 33.22 kB / 0.8956 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004396/0.9165, allocations: 1.791 MB / 0.8974 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 4.008e-06/0.9166, allocations: 0 / 0.8974 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1235/1.04, allocations: 28.21 MB / 0.9249 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003144/1.04, allocations: 0.4928 MB / 0.9254 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003405/1.044, allocations: 2.3 MB / 0.9276 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004847/1.044, allocations: 81.7 kB / 0.9277 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/1.046, allocations: 1.43 MB / 0.9291 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008859/1.047, allocations: 0.8201 MB / 0.9299 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008878/1.047, allocations: 412.5 kB / 0.9303 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.048, allocations: 301.1 kB / 0.9306 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005114/1.053, allocations: 1.933 MB / 0.9325 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005607/1.058, allocations: 2.227 MB / 0.9347 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/1.069, allocations: 4.169 MB / 0.9387 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/1.069, allocations: 4 kB / 0.9387 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01977/1.089, allocations: 6.543 MB / 0.9451 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/1.089, allocations: 152.6 kB / 0.9453 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/1.089, allocations: 4 kB / 0.9453 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/1.1, allocations: 2.93 MB / 0.9481 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003033/1.103, allocations: 483.2 kB / 0.9486 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04081/1.144, allocations: 18.83 MB / 0.967 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004925/1.148, allocations: 315.6 kB / 0.9673 GB, free: 12.93 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004782/1.149, allocations: 98.78 kB / 0.9674 GB, free: 12.84 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.001739/1.151, allocations: 0.7066 MB / 0.9681 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/1.151, allocations: 332 kB / 0.9684 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/1.152, allocations: 384.1 kB / 0.9687 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/1.152, allocations: 24 kB / 0.9688 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.616e-05/1.152, allocations: 15.94 kB / 0.9688 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/1.152, allocations: 11.95 kB / 0.9688 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005373/1.158, allocations: 3.621 MB / 0.9723 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/1.158, allocations: 0 / 0.9723 GB, free: 7.68 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002523/1.16, allocations: 415.4 kB / 0.9727 GB, free: 7.273 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01007/1.17, allocations: 2.868 MB / 0.9755 GB, free: 4.398 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004644/1.171, allocations: 47.97 kB / 0.9756 GB, free: 4.352 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04807/1.219, allocations: 18.62 MB / 0.9938 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.219, allocations: 4 kB / 0.9938 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02759/1.246, allocations: 6.169 MB / 0.9998 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003369/1.25, allocations: 0.7038 MB / 1 GB, free: 10.5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/1.251, allocations: 51.92 kB / 1.001 GB, free: 10.45 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004545/1.256, allocations: 315.5 kB / 1.001 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001802/1.258, allocations: 350.7 kB / 1.001 GB, free: 9.801 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003343/1.258, allocations: 75.95 kB / 1.001 GB, free: 9.727 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003405/1.261, allocations: 1.54 MB / 1.003 GB, free: 8.188 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/1.261, allocations: 0 / 1.003 GB, free: 8.188 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00474/1.266, allocations: 1.039 MB / 1.004 GB, free: 7.148 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.0005789/1.267, allocations: 172.1 kB / 1.004 GB, free: 6.973 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02969/1.296, allocations: 6.467 MB / 1.01 GB, free: 424 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/1.296, allocations: 4.25 kB / 1.01 GB, free: 420 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01771/1.314, allocations: 4.056 MB / 1.014 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006008/1.32, allocations: 1.147 MB / 1.015 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/1.336, allocations: 6.687 MB / 1.022 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002159/1.339, allocations: 2.227 MB / 1.024 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002593/1.341, allocations: 0.5128 MB / 1.025 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/1.342, allocations: 187.4 kB / 1.025 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of SimCode: time 2.605e-06/1.342, allocations: 0 / 1.025 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of Templates: time 0.1256/1.468, allocations: 74.88 MB / 1.098 GB, free: 7.672 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)