Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 111.5 kB / 15.99 MB, free: 6.344 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.001476/0.001476, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.57/2.57, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 65.11 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.4974/0.817, allocations: 22.4 MB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02156/0.8386, allocations: 17.44 MB / 1.103 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/0.8421, allocations: 107 kB / 1.103 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.8527, allocations: 3.921 MB / 1.107 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.8646, allocations: 3.186 MB / 1.11 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004021/0.8687, allocations: 1.191 MB / 1.111 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009814/0.8785, allocations: 5.591 MB / 1.117 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0063/0.8849, allocations: 3.958 MB / 1.121 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004962/0.8898, allocations: 2.342 MB / 1.123 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005188/0.895, allocations: 2.477 MB / 1.125 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.8961, allocations: 351.3 kB / 1.126 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.8991, allocations: 1.017 MB / 1.127 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.9006, allocations: 1.158 MB / 1.128 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003433/0.904, allocations: 1.964 MB / 1.13 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.006403/0.9105, allocations: 3.977 MB / 1.134 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.9105, allocations: 4.453 kB / 1.134 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9105, allocations: 0 / 1.134 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001686/0.9107, allocations: 0.9062 kB / 1.134 GB, free: 1.652 MB / 0.8575 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.01141/0.9221, allocations: 4.378 MB / 1.138 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.9222, allocations: 9.594 kB / 1.138 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.9376, allocations: 3.255 MB / 1.141 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005071/0.9427, allocations: 2.06 MB / 1.143 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.9429, allocations: 182 kB / 1.143 GB, free: 12.99 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007374/0.9437, allocations: 236.4 kB / 1.143 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.9547, allocations: 4.678 MB / 1.148 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/0.9548, allocations: 9.062 kB / 1.148 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003535/0.9551, allocations: 109.9 kB / 1.148 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002065/0.9553, allocations: 169.6 kB / 1.148 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01318/0.9685, allocations: 5.117 MB / 1.153 GB, free: 7.449 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02361/0.9922, allocations: 14.02 MB / 1.167 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/1.003, allocations: 3.553 MB / 1.17 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00321/1.006, allocations: 1.395 MB / 1.172 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/1.006, allocations: 27.19 kB / 1.172 GB, free: 8.734 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003745/1.01, allocations: 1.706 MB / 1.173 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=163): time 3.286e-06/1.01, allocations: 0 / 1.173 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of matching and sorting (n=250): time 0.1145/1.124, allocations: 27.41 MB / 1.2 GB, free: 12.26 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002733/1.125, allocations: 496.7 kB / 1.201 GB, free: 11.66 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/1.128, allocations: 2.3 MB / 1.203 GB, free: 9.352 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003376/1.128, allocations: 77.7 kB / 1.203 GB, free: 9.27 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/1.13, allocations: 1.438 MB / 1.204 GB, free: 7.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008731/1.131, allocations: 0.8163 MB / 1.205 GB, free: 6.992 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008204/1.131, allocations: 412.5 kB / 1.206 GB, free: 6.582 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.132, allocations: 309.1 kB / 1.206 GB, free: 6.277 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004558/1.136, allocations: 1.755 MB / 1.208 GB, free: 4.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00479/1.141, allocations: 2.04 MB / 1.21 GB, free: 2.387 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009178/1.15, allocations: 3.845 MB / 1.213 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.15, allocations: 0 / 1.213 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01511/1.165, allocations: 5.806 MB / 1.219 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.165, allocations: 148.5 kB / 1.219 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.165, allocations: 8 kB / 1.219 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006362/1.172, allocations: 1.856 MB / 1.221 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002817/1.175, allocations: 0.4914 MB / 1.222 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02405/1.199, allocations: 15.42 MB / 1.237 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00389/1.203, allocations: 315.5 kB / 1.237 GB, free: 6 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/1.203, allocations: 92.84 kB / 1.237 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00571/1.209, allocations: 2.319 MB / 1.239 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004735/1.213, allocations: 2.02 MB / 1.241 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008998/1.222, allocations: 3.81 MB / 1.245 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.843e-06/1.222, allocations: 0 / 1.245 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01452/1.237, allocations: 5.645 MB / 1.25 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.237, allocations: 144.8 kB / 1.251 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/1.237, allocations: 15.94 kB / 1.251 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005519/1.243, allocations: 1.693 MB / 1.252 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/1.245, allocations: 0.507 MB / 1.253 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/1.268, allocations: 14.62 MB / 1.267 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004038/1.272, allocations: 307.6 kB / 1.267 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/1.272, allocations: 87.97 kB / 1.267 GB, free: 6.098 MB / 0.9825 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.00066/1.273, allocations: 326.2 kB / 1.268 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006109/1.273, allocations: 336 kB / 1.268 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009178/1.274, allocations: 392.1 kB / 1.268 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.589e-05/1.274, allocations: 28 kB / 1.268 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.976e-05/1.274, allocations: 11.94 kB / 1.268 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/1.274, allocations: 11.95 kB / 1.268 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004606/1.279, allocations: 3.176 MB / 1.272 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.279, allocations: 0 / 1.272 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002441/1.281, allocations: 431.3 kB / 1.272 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005865/1.287, allocations: 1.715 MB / 1.274 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/1.288, allocations: 51.97 kB / 1.274 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02312/1.311, allocations: 15.21 MB / 1.289 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.311, allocations: 0 / 1.289 GB, free: 64 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.325, allocations: 5.435 MB / 1.294 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/1.327, allocations: 0.657 MB / 1.294 GB, free: 9.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006344/1.328, allocations: 51.98 kB / 1.295 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/1.331, allocations: 299.6 kB / 1.295 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008634/1.332, allocations: 294.7 kB / 1.295 GB, free: 9.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001924/1.332, allocations: 63.98 kB / 1.295 GB, free: 9.215 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002194/1.334, allocations: 1.532 MB / 1.297 GB, free: 7.684 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.334, allocations: 0 / 1.297 GB, free: 7.684 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004258/1.338, allocations: 1.645 MB / 1.298 GB, free: 6.039 MB / 1.014 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 (128): * Single equations (assignments): 116 * 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,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003861/1.339, allocations: 175 kB / 1.298 GB, free: 5.859 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02468/1.363, allocations: 10.19 MB / 1.308 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.363, allocations: 4 kB / 1.308 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00801/1.371, allocations: 3.322 MB / 1.312 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/1.376, allocations: 1.135 MB / 1.313 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/1.391, allocations: 8.055 MB / 1.321 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/1.394, allocations: 2.297 MB / 1.323 GB, free: 12.62 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/1.395, allocations: 215.4 kB / 1.323 GB, free: 12.41 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/1.395, allocations: 0 / 1.323 GB, free: 12.41 MB / 1.045 GB Notification: Performance of Templates: time 0.1053/1.5, allocations: 79.57 MB / 1.401 GB, free: 13.17 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)