Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008751/0.0008751, allocations: 76.55 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.0007966/0.0007966, allocations: 181.9 kB / 23.22 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.8493/0.8493, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.602/1.602, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.136e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01469/0.01471, allocations: 20.94 MB / 0.9722 GB, free: 13.99 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01639/0.03111, allocations: 16.65 MB / 0.9884 GB, free: 13.29 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.03317, allocations: 174.6 kB / 0.9886 GB, free: 13.12 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.004649/0.03781, allocations: 4.169 MB / 0.9927 GB, free: 8.938 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.04429, allocations: 3.697 MB / 0.9963 GB, free: 5.227 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.04617, allocations: 1.319 MB / 0.9976 GB, free: 3.91 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.004323/0.0505, allocations: 5.97 MB / 1.003 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00228/0.05278, allocations: 2.841 MB / 1.006 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/0.05571, allocations: 3.687 MB / 1.01 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.05753, allocations: 1.916 MB / 1.012 GB, free: 5.387 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.05785, allocations: 368 kB / 1.012 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.05903, allocations: 0.9706 MB / 1.013 GB, free: 4.055 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006649/0.0597, allocations: 1.261 MB / 1.014 GB, free: 2.789 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0009173/0.06062, allocations: 1.372 MB / 1.016 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.06407, allocations: 5.195 MB / 1.021 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.06407, allocations: 0 / 1.021 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.082e-06/0.06408, allocations: 0 / 1.021 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.893e-05/0.0641, allocations: 0 / 1.021 GB, free: 12.2 MB / 0.9792 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.004976/0.06908, allocations: 4.604 MB / 1.025 GB, free: 7.5 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.06912, allocations: 8.031 kB / 1.025 GB, free: 7.492 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007447/0.07656, allocations: 3.279 MB / 1.028 GB, free: 4.207 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.07904, allocations: 2.162 MB / 1.03 GB, free: 1.969 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.07928, allocations: 466.3 kB / 1.031 GB, free: 1.449 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.07958, allocations: 236.3 kB / 1.031 GB, free: 1.219 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0059/0.08548, allocations: 5.367 MB / 1.036 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.08552, allocations: 7.938 kB / 1.036 GB, free: 11.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.08575, allocations: 108 kB / 1.036 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.08587, allocations: 168.8 kB / 1.037 GB, free: 11.32 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007108/0.09298, allocations: 5.187 MB / 1.042 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4436/0.5366, allocations: 8.759 MB / 1.05 GB, free: 126.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.541, allocations: 3.245 MB / 1.053 GB, free: 125.7 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.5427, allocations: 1.368 MB / 1.055 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.457e-05/0.5428, allocations: 25.66 kB / 1.055 GB, free: 125.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002049/0.5448, allocations: 2.445 MB / 1.057 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=163): time 3.977e-06/0.5448, allocations: 3.578 kB / 1.057 GB, free: 123.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=250): time 0.0595/0.6043, allocations: 27.5 MB / 1.084 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.6045, allocations: 0.4929 MB / 1.084 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/0.6065, allocations: 1.995 MB / 1.086 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.6067, allocations: 78.73 kB / 1.087 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007805/0.6075, allocations: 1.469 MB / 1.088 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/0.6079, allocations: 0.8562 MB / 1.089 GB, free: 116.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005651/0.6085, allocations: 418.9 kB / 1.089 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.14e-05/0.6085, allocations: 306.9 kB / 1.089 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002972/0.6115, allocations: 2.065 MB / 1.091 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/0.6147, allocations: 2.77 MB / 1.094 GB, free: 113.8 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00612/0.6208, allocations: 4.163 MB / 1.098 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/0.6208, allocations: 2.75 kB / 1.098 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01076/0.6316, allocations: 6.58 MB / 1.105 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.407e-05/0.6317, allocations: 149.8 kB / 1.105 GB, free: 109.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.6317, allocations: 5.891 kB / 1.105 GB, free: 109.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005545/0.6372, allocations: 2.927 MB / 1.108 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.6386, allocations: 490.7 kB / 1.108 GB, free: 108.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.6599, allocations: 18.19 MB / 1.126 GB, free: 99.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/0.6621, allocations: 325.2 kB / 1.126 GB, free: 99.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.6622, allocations: 98.05 kB / 1.126 GB, free: 99.14 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.001184/0.6634, allocations: 0.7081 MB / 1.127 GB, free: 98.67 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.6637, allocations: 316 kB / 1.127 GB, free: 98.51 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.664, allocations: 360.1 kB / 1.128 GB, free: 98.21 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.664, allocations: 25.02 kB / 1.128 GB, free: 98.21 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.015e-05/0.664, allocations: 11.75 kB / 1.128 GB, free: 98.21 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.6641, allocations: 17.14 kB / 1.128 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.6663, allocations: 2.73 MB / 1.13 GB, free: 96.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6663, allocations: 4 kB / 1.13 GB, free: 96.59 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/0.6673, allocations: 417.9 kB / 1.131 GB, free: 96.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0045/0.6718, allocations: 2.867 MB / 1.134 GB, free: 95.12 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/0.672, allocations: 47.66 kB / 1.134 GB, free: 95.09 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01816/0.6901, allocations: 17.96 MB / 1.151 GB, free: 78.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6901, allocations: 2.812 kB / 1.151 GB, free: 78.71 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008548/0.6987, allocations: 6.083 MB / 1.157 GB, free: 72.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009588/0.6996, allocations: 0.6071 MB / 1.158 GB, free: 72 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.6998, allocations: 47.94 kB / 1.158 GB, free: 71.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.7012, allocations: 319.6 kB / 1.158 GB, free: 71.64 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006887/0.7019, allocations: 362.5 kB / 1.158 GB, free: 71.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.702, allocations: 71.91 kB / 1.158 GB, free: 71.21 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001016/0.703, allocations: 1.316 MB / 1.16 GB, free: 69.89 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.703, allocations: 0 / 1.16 GB, free: 69.89 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001774/0.7048, allocations: 1.035 MB / 1.161 GB, free: 68.86 MB / 0.9948 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.0002451/0.705, allocations: 160.4 kB / 1.161 GB, free: 68.69 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01049/0.7155, allocations: 6.456 MB / 1.167 GB, free: 62.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7155, allocations: 0 / 1.167 GB, free: 62.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.007255/0.7228, allocations: 3.919 MB / 1.171 GB, free: 58.17 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002353/0.7251, allocations: 1.042 MB / 1.172 GB, free: 57.19 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008062/0.7332, allocations: 6.951 MB / 1.179 GB, free: 50.21 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.7343, allocations: 1.689 MB / 1.181 GB, free: 48.48 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005725/0.7348, allocations: 184.4 kB / 1.181 GB, free: 48.3 MB / 0.9948 GB Notification: Performance of SimCode: time 2.215e-06/0.7348, allocations: 0 / 1.181 GB, free: 48.3 MB / 0.9948 GB Notification: Performance of Templates: time 0.05353/0.7884, allocations: 79.6 MB / 1.258 GB, free: 0.9609 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 16.866347638890147] Failed to read output from testmodel.py, exit status != 0: 0.7939083268865943 0.8013324420000001 0.7356287610000001 Calling exit ...