Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_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.001634/0.001634, allocations: 105.2 kB / 16.41 MB, free: 6.461 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.001809/0.001809, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.728/2.728, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 59.91 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9076/0.9091, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02683/0.936, allocations: 22.64 MB / 1.231 GB, free: 6.863 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02808/0.9641, allocations: 17.64 MB / 1.248 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004012/0.9682, allocations: 111.4 kB / 1.248 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01136/0.9796, allocations: 4.165 MB / 1.252 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01189/0.9915, allocations: 3.51 MB / 1.255 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004007/0.9956, allocations: 1.32 MB / 1.257 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009111/1.005, allocations: 5.781 MB / 1.262 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006354/1.011, allocations: 3.592 MB / 1.266 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/1.016, allocations: 2.472 MB / 1.268 GB, free: 108 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005119/1.021, allocations: 2.44 MB / 1.271 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001503/1.023, allocations: 372 kB / 1.271 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003175/1.026, allocations: 1.03 MB / 1.272 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001863/1.028, allocations: 1.199 MB / 1.273 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004427/1.032, allocations: 1.994 MB / 1.275 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008715/1.041, allocations: 5.173 MB / 1.28 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.041, allocations: 0 / 1.28 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.041, allocations: 4 kB / 1.28 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001526/1.041, allocations: 0 / 1.28 GB, free: 3.863 MB / 0.9981 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.0108/1.052, allocations: 4.609 MB / 1.285 GB, free: 15.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/1.052, allocations: 8.031 kB / 1.285 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/1.069, allocations: 3.261 MB / 1.288 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005062/1.074, allocations: 2.224 MB / 1.29 GB, free: 9.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004562/1.074, allocations: 474.3 kB / 1.29 GB, free: 9.043 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008944/1.075, allocations: 235.9 kB / 1.291 GB, free: 8.812 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01174/1.087, allocations: 4.806 MB / 1.295 GB, free: 3.859 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.549e-05/1.087, allocations: 4 kB / 1.295 GB, free: 3.855 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/1.087, allocations: 112 kB / 1.295 GB, free: 3.746 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/1.088, allocations: 172.8 kB / 1.296 GB, free: 3.574 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/1.103, allocations: 5.194 MB / 1.301 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02285/1.125, allocations: 14.39 MB / 1.315 GB, free: 14.81 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/1.136, allocations: 3.4 MB / 1.318 GB, free: 11.39 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003935/1.14, allocations: 1.471 MB / 1.32 GB, free: 9.922 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001368/1.14, allocations: 25.28 kB / 1.32 GB, free: 9.895 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004525/1.144, allocations: 1.79 MB / 1.321 GB, free: 8.039 MB / 1.045 GB Notification: Performance of pre-optimization done (n=163): time 3.807e-06/1.144, allocations: 0 / 1.321 GB, free: 8.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=250): time 0.1341/1.278, allocations: 28.22 MB / 1.349 GB, free: 11.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002236/1.279, allocations: 0.4889 MB / 1.349 GB, free: 11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/1.282, allocations: 2.3 MB / 1.352 GB, free: 8.688 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003897/1.283, allocations: 81.69 kB / 1.352 GB, free: 8.602 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/1.284, allocations: 1.434 MB / 1.353 GB, free: 7.152 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.001101/1.285, allocations: 0.824 MB / 1.354 GB, free: 6.316 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001446/1.286, allocations: 420.4 kB / 1.354 GB, free: 5.898 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.287, allocations: 301.1 kB / 1.355 GB, free: 5.602 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007958/1.295, allocations: 1.933 MB / 1.356 GB, free: 3.664 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008245/1.303, allocations: 2.233 MB / 1.359 GB, free: 1.348 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/1.319, allocations: 4.161 MB / 1.363 GB, free: 13.05 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/1.319, allocations: 0 / 1.363 GB, free: 13.05 MB / 1.092 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02887/1.347, allocations: 6.539 MB / 1.369 GB, free: 6.414 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001592/1.348, allocations: 148.5 kB / 1.369 GB, free: 6.238 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/1.348, allocations: 8.344 kB / 1.369 GB, free: 6.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01531/1.363, allocations: 2.93 MB / 1.372 GB, free: 3.297 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004376/1.367, allocations: 491.2 kB / 1.373 GB, free: 2.816 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06344/1.431, allocations: 18.83 MB / 1.391 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006011/1.437, allocations: 319.6 kB / 1.391 GB, free: 15.42 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007669/1.438, allocations: 87.97 kB / 1.391 GB, free: 15.34 MB / 1.123 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.003019/1.441, allocations: 0.7105 MB / 1.392 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/1.442, allocations: 328.2 kB / 1.392 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/1.444, allocations: 380.1 kB / 1.393 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/1.444, allocations: 24 kB / 1.393 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.296e-05/1.444, allocations: 8 kB / 1.393 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-05/1.444, allocations: 15.95 kB / 1.393 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008883/1.453, allocations: 3.632 MB / 1.396 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.269e-05/1.453, allocations: 4.188 kB / 1.396 GB, free: 10.17 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00359/1.456, allocations: 419.3 kB / 1.397 GB, free: 9.762 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01447/1.471, allocations: 2.872 MB / 1.4 GB, free: 6.875 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006308/1.472, allocations: 51.97 kB / 1.4 GB, free: 6.824 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06037/1.532, allocations: 18.61 MB / 1.418 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.532, allocations: 0 / 1.418 GB, free: 3.922 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02685/1.559, allocations: 6.173 MB / 1.424 GB, free: 13.72 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003362/1.562, allocations: 0.6961 MB / 1.424 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/1.564, allocations: 51.94 kB / 1.424 GB, free: 12.95 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00515/1.569, allocations: 311.6 kB / 1.425 GB, free: 12.64 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001857/1.571, allocations: 350.7 kB / 1.425 GB, free: 12.3 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004311/1.572, allocations: 71.97 kB / 1.425 GB, free: 12.23 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.004438/1.576, allocations: 1.532 MB / 1.427 GB, free: 10.7 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.91e-07/1.576, allocations: 0 / 1.427 GB, free: 10.7 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.005211/1.581, allocations: 1.047 MB / 1.428 GB, free: 9.656 MB / 1.154 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.0006869/1.582, allocations: 171 kB / 1.428 GB, free: 9.48 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.03326/1.615, allocations: 6.473 MB / 1.434 GB, free: 2.906 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.615, allocations: 0.75 kB / 1.434 GB, free: 2.906 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.01935/1.635, allocations: 4.048 MB / 1.438 GB, free: 14.82 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005445/1.64, allocations: 1.138 MB / 1.439 GB, free: 13.73 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01758/1.658, allocations: 6.88 MB / 1.446 GB, free: 6.816 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/1.661, allocations: 2.231 MB / 1.448 GB, free: 4.555 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/1.662, allocations: 203.4 kB / 1.448 GB, free: 4.359 MB / 1.17 GB Notification: Performance of SimCode: time 1.423e-06/1.662, allocations: 0 / 1.448 GB, free: 4.359 MB / 1.17 GB Notification: Performance of Templates: time 0.1095/1.771, allocations: 80.21 MB / 1.527 GB, free: 4.469 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)