Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008333/0.0008333, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008117/0.0008117, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.913/0.913, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.696/1.696, allocations: 377.9 MB / 0.6228 GB, free: 8.637 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.938e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02/0.02003, allocations: 20.93 MB / 1.003 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.03925, allocations: 16.65 MB / 1.019 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002682/0.04193, allocations: 174.6 kB / 1.019 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.004734/0.04667, allocations: 4.175 MB / 1.023 GB, free: 7.992 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00729/0.05396, allocations: 3.693 MB / 1.027 GB, free: 4.285 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002439/0.0564, allocations: 1.325 MB / 1.028 GB, free: 2.965 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.004893/0.06129, allocations: 5.959 MB / 1.034 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002461/0.06375, allocations: 2.845 MB / 1.037 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003195/0.06695, allocations: 3.695 MB / 1.04 GB, free: 6.355 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.06894, allocations: 1.912 MB / 1.042 GB, free: 4.438 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003227/0.06926, allocations: 368 kB / 1.042 GB, free: 4.078 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.07069, allocations: 0.9706 MB / 1.043 GB, free: 3.105 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007009/0.07139, allocations: 1.265 MB / 1.045 GB, free: 1.836 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0009716/0.07236, allocations: 1.368 MB / 1.046 GB, free: 476 kB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.4683/0.5407, allocations: 5.195 MB / 1.051 GB, free: 54.21 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5407, allocations: 2.812 kB / 1.051 GB, free: 54.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5407, allocations: 0 / 1.051 GB, free: 54.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.925e-05/0.5407, allocations: 0 / 1.051 GB, free: 54.21 MB / 0.9948 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.004395/0.5451, allocations: 4.598 MB / 1.056 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5451, allocations: 12.45 kB / 1.056 GB, free: 52.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007093/0.5522, allocations: 3.28 MB / 1.059 GB, free: 51.91 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002194/0.5544, allocations: 2.155 MB / 1.061 GB, free: 51.23 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.5546, allocations: 474.8 kB / 1.061 GB, free: 50.91 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002983/0.5549, allocations: 231.5 kB / 1.062 GB, free: 50.91 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005231/0.5601, allocations: 5.365 MB / 1.067 GB, free: 49.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.5602, allocations: 3.281 kB / 1.067 GB, free: 49.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.5604, allocations: 105.4 kB / 1.067 GB, free: 49.79 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.5605, allocations: 171.3 kB / 1.067 GB, free: 49.79 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006227/0.5667, allocations: 5.192 MB / 1.072 GB, free: 49.66 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009982/0.5767, allocations: 8.75 MB / 1.081 GB, free: 47.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/0.5818, allocations: 3.25 MB / 1.084 GB, free: 46.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/0.5838, allocations: 1.367 MB / 1.085 GB, free: 46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.765e-05/0.5839, allocations: 27.69 kB / 1.085 GB, free: 45.99 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002509/0.5864, allocations: 2.442 MB / 1.088 GB, free: 44.55 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 3.307e-06/0.5864, allocations: 4 kB / 1.088 GB, free: 44.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.06294/0.6494, allocations: 27.5 MB / 1.114 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.6495, allocations: 0.4892 MB / 1.115 GB, free: 39.38 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.6516, allocations: 2.002 MB / 1.117 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.6518, allocations: 74.36 kB / 1.117 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00076/0.6525, allocations: 1.47 MB / 1.118 GB, free: 37.42 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/0.653, allocations: 0.8531 MB / 1.119 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005761/0.6536, allocations: 416 kB / 1.12 GB, free: 36.56 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.316e-05/0.6536, allocations: 305.1 kB / 1.12 GB, free: 36.26 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/0.6564, allocations: 2.068 MB / 1.122 GB, free: 35.52 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/0.6594, allocations: 2.775 MB / 1.125 GB, free: 34.01 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005578/0.6649, allocations: 4.166 MB / 1.129 GB, free: 32.29 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.6649, allocations: 1.031 kB / 1.129 GB, free: 32.29 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.00952/0.6745, allocations: 6.585 MB / 1.135 GB, free: 29.12 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.6745, allocations: 151.6 kB / 1.135 GB, free: 28.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6745, allocations: 9.438 kB / 1.135 GB, free: 28.95 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004684/0.6792, allocations: 2.927 MB / 1.138 GB, free: 27.64 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.6804, allocations: 489.1 kB / 1.139 GB, free: 27.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/0.6994, allocations: 18.19 MB / 1.156 GB, free: 16.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.7015, allocations: 320.9 kB / 1.157 GB, free: 16.12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/0.7017, allocations: 91.47 kB / 1.157 GB, free: 16.1 MB / 0.9948 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.001165/0.7029, allocations: 0.7104 MB / 1.157 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.7032, allocations: 313 kB / 1.158 GB, free: 15.47 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.7035, allocations: 363.3 kB / 1.158 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.7035, allocations: 24.66 kB / 1.158 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.787e-05/0.7035, allocations: 14.28 kB / 1.158 GB, free: 15.17 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.7035, allocations: 11.95 kB / 1.158 GB, free: 15.16 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.7058, allocations: 2.732 MB / 1.161 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.7059, allocations: 3.562 kB / 1.161 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.7069, allocations: 414.3 kB / 1.161 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004347/0.7112, allocations: 2.872 MB / 1.164 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.7113, allocations: 51.97 kB / 1.164 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/0.7305, allocations: 17.97 MB / 1.182 GB, free: 9.039 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.7305, allocations: 0 / 1.182 GB, free: 9.039 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.7406, allocations: 6.088 MB / 1.188 GB, free: 3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.7417, allocations: 0.5954 MB / 1.188 GB, free: 2.402 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.742, allocations: 55.92 kB / 1.188 GB, free: 2.348 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/0.7433, allocations: 315.6 kB / 1.189 GB, free: 2.039 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007047/0.7441, allocations: 362.5 kB / 1.189 GB, free: 1.688 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.7442, allocations: 69.83 kB / 1.189 GB, free: 1.621 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001274/0.7455, allocations: 1.316 MB / 1.19 GB, free: 304 kB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.7455, allocations: 0 / 1.19 GB, free: 304 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.00201/0.7475, allocations: 1.039 MB / 1.191 GB, free: 15.25 MB / 1.026 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.0002657/0.7477, allocations: 174.1 kB / 1.191 GB, free: 15.09 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01151/0.7592, allocations: 6.45 MB / 1.198 GB, free: 8.539 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7592, allocations: 0.75 kB / 1.198 GB, free: 8.539 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008089/0.7673, allocations: 3.911 MB / 1.202 GB, free: 4.621 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002606/0.7699, allocations: 1.029 MB / 1.203 GB, free: 3.648 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008857/0.7788, allocations: 6.961 MB / 1.209 GB, free: 12.66 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.78, allocations: 1.682 MB / 1.211 GB, free: 10.94 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/0.7806, allocations: 192.4 kB / 1.211 GB, free: 10.75 MB / 1.042 GB Notification: Performance of SimCode: time 8.12e-07/0.7806, allocations: 0 / 1.211 GB, free: 10.75 MB / 1.042 GB Notification: Performance of Templates: time 0.05941/0.84, allocations: 79.6 MB / 1.289 GB, free: 11.59 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 17.65755575709045] Failed to read output from testmodel.py, exit status != 0: 0.8465062165632844 0.858692197 0.315484472 Calling exit ...