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.459/1.459, allocations: 252 MB / 267.6 MB, free: 10.95 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.001225/0.001225, allocations: 180.5 kB / 327.3 MB, free: 2.227 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.862/1.862, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0008082/0.0008083, allocations: 86.67 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.000384, allocations: 10.94 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2149, allocations: 106.3 MB / 0.9008 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01686/0.2318, allocations: 20.26 MB / 0.9206 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02029/0.2522, allocations: 16.51 MB / 0.9367 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003733/0.2559, allocations: 103.4 kB / 0.9368 GB, free: 27.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.259, allocations: 0.558 MB / 0.9374 GB, free: 26.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.01073/0.2697, allocations: 2.855 MB / 0.9402 GB, free: 23.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.2731, allocations: 0.9607 MB / 0.9411 GB, free: 22.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007809/0.2809, allocations: 5.934 MB / 0.9469 GB, free: 16.99 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004192/0.2852, allocations: 2.06 MB / 0.9489 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/0.2893, allocations: 1.969 MB / 0.9508 GB, free: 12.89 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004346/0.2937, allocations: 2.218 MB / 0.953 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001358/0.2951, allocations: 179.9 kB / 0.9532 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002834/0.298, allocations: 0.5033 MB / 0.9537 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001772/0.2998, allocations: 0.9498 MB / 0.9546 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.3012, allocations: 0.6912 MB / 0.9553 GB, free: 8.332 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.3053, allocations: 3.935 MB / 0.9591 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3053, allocations: 0 / 0.9591 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3053, allocations: 0 / 0.9591 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001141/0.3055, allocations: 4 kB / 0.9591 GB, free: 4.383 MB / 0.6042 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.008357/0.3138, allocations: 4.107 MB / 0.9631 GB, free: 168 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3139, allocations: 8.031 kB / 0.9631 GB, free: 160 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.3303, allocations: 3.366 MB / 0.9664 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004881/0.3352, allocations: 1.991 MB / 0.9684 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004497/0.3357, allocations: 461.7 kB / 0.9688 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008155/0.3365, allocations: 232 kB / 0.969 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01206/0.3486, allocations: 4.857 MB / 0.9738 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.3487, allocations: 0 / 0.9738 GB, free: 4.977 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004169/0.3491, allocations: 103.9 kB / 0.9739 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/0.3493, allocations: 172.8 kB / 0.974 GB, free: 4.703 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01459/0.3639, allocations: 5.304 MB / 0.9792 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02594/0.3899, allocations: 14.58 MB / 0.9934 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.4004, allocations: 3.675 MB / 0.997 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004179/0.4046, allocations: 1.596 MB / 0.9986 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/0.4049, allocations: 17.22 kB / 0.9986 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005083/0.4099, allocations: 1.923 MB / 1 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=163): time 8.666e-06/0.41, allocations: 0 / 1 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of matching and sorting (n=250): time 0.1412/0.5512, allocations: 34.09 MB / 1.034 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002849/0.5515, allocations: 0.4928 MB / 1.034 GB, free: 5.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004137/0.5557, allocations: 2.273 MB / 1.036 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005758/0.5563, allocations: 77.7 kB / 1.037 GB, free: 3.043 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.5578, allocations: 1.43 MB / 1.038 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/0.5591, allocations: 0.8241 MB / 1.039 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004042/0.5595, allocations: 44 kB / 1.039 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000282/0.5598, allocations: 398.7 kB / 1.039 GB, free: 332 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006147/0.566, allocations: 2.108 MB / 1.041 GB, free: 14.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006172/0.5722, allocations: 2.414 MB / 1.044 GB, free: 11.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006366/0.5786, allocations: 2.288 MB / 1.046 GB, free: 9.375 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.5786, allocations: 7.938 kB / 1.046 GB, free: 9.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02168/0.6003, allocations: 6.879 MB / 1.053 GB, free: 2.398 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.6005, allocations: 150.7 kB / 1.053 GB, free: 2.223 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.6006, allocations: 8 kB / 1.053 GB, free: 2.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4919/1.092, allocations: 2.941 MB / 1.056 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003105/1.096, allocations: 0.5718 MB / 1.056 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0439/1.14, allocations: 17.32 MB / 1.073 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004567/1.144, allocations: 413.3 kB / 1.073 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004414/1.145, allocations: 93.12 kB / 1.074 GB, free: 136 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 (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.001776/1.146, allocations: 0.7017 MB / 1.074 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007477/1.147, allocations: 329.9 kB / 1.075 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006222/1.148, allocations: 378 kB / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.211e-05/1.148, allocations: 27.48 kB / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-05/1.148, allocations: 12.19 kB / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/1.148, allocations: 17.61 kB / 1.075 GB, free: 135.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005215/1.153, allocations: 3.633 MB / 1.078 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.153, allocations: 0 / 1.078 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002601/1.156, allocations: 0.5049 MB / 1.079 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009426/1.165, allocations: 2.864 MB / 1.082 GB, free: 133.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004512/1.166, allocations: 52.27 kB / 1.082 GB, free: 133.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03583/1.202, allocations: 17.12 MB / 1.099 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.202, allocations: 0 / 1.099 GB, free: 123.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01857/1.22, allocations: 6.526 MB / 1.105 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/1.222, allocations: 0.6961 MB / 1.106 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009914/1.223, allocations: 48 kB / 1.106 GB, free: 118 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003903/1.227, allocations: 417 kB / 1.106 GB, free: 117.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/1.229, allocations: 362.6 kB / 1.106 GB, free: 117.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003581/1.229, allocations: 67.97 kB / 1.106 GB, free: 117.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002685/1.232, allocations: 1.513 MB / 1.108 GB, free: 115.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.232, allocations: 0 / 1.108 GB, free: 115.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0039/1.236, allocations: 1.047 MB / 1.109 GB, free: 114.6 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 (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,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004842/1.236, allocations: 159.6 kB / 1.109 GB, free: 114.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02187/1.258, allocations: 6.819 MB / 1.116 GB, free: 107.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/1.258, allocations: 12.19 kB / 1.116 GB, free: 107.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01617/1.274, allocations: 4.217 MB / 1.12 GB, free: 103.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006484/1.281, allocations: 1.051 MB / 1.121 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/1.297, allocations: 7.933 MB / 1.129 GB, free: 94.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/1.299, allocations: 2.234 MB / 1.131 GB, free: 92.03 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/1.3, allocations: 187.4 kB / 1.131 GB, free: 91.85 MB / 0.698 GB Notification: Performance of SimCode: time 1.643e-06/1.3, allocations: 0 / 1.131 GB, free: 91.85 MB / 0.698 GB Notification: Performance of Templates: time 0.08691/1.387, allocations: 79.69 MB / 1.209 GB, free: 12.43 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)