Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_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_latest_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.001484/0.001484, allocations: 106.2 kB / 16.27 MB, free: 6.41 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.001488/0.001488, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.629/2.629, allocations: 482.4 MB / 0.7553 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 64.48 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7451/0.747, allocations: 162.2 MB / 1.083 GB, free: 1.621 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02698/0.7741, allocations: 22.61 MB / 1.105 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02821/0.8023, allocations: 17.63 MB / 1.122 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003944/0.8063, allocations: 111.2 kB / 1.122 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.818, allocations: 4.17 MB / 1.126 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.8317, allocations: 3.508 MB / 1.13 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004897/0.8366, allocations: 1.308 MB / 1.131 GB, free: 488 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01064/0.8473, allocations: 5.564 MB / 1.137 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007804/0.8551, allocations: 3.549 MB / 1.14 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005472/0.8606, allocations: 2.296 MB / 1.142 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005689/0.8663, allocations: 2.395 MB / 1.145 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001724/0.8681, allocations: 351.5 kB / 1.145 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.8723, allocations: 1.013 MB / 1.146 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002479/0.8748, allocations: 1.157 MB / 1.147 GB, free: 7.348 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.005813/0.8806, allocations: 1.956 MB / 1.149 GB, free: 6.02 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01029/0.8909, allocations: 5.003 MB / 1.154 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.891, allocations: 0 / 1.154 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.295e-06/0.891, allocations: 1.156 kB / 1.154 GB, free: 2.504 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000202/0.8912, allocations: 0 / 1.154 GB, free: 2.504 MB / 0.8731 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.0113/0.9025, allocations: 4.394 MB / 1.158 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.9026, allocations: 9.094 kB / 1.158 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/0.9186, allocations: 3.249 MB / 1.161 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004965/0.9236, allocations: 2.064 MB / 1.163 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.9238, allocations: 185.1 kB / 1.163 GB, free: 12 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007387/0.9246, allocations: 232.1 kB / 1.164 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.9362, allocations: 4.686 MB / 1.168 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.616e-05/0.9363, allocations: 0 / 1.168 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/0.9366, allocations: 104 kB / 1.168 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002253/0.9369, allocations: 172.8 kB / 1.169 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.9508, allocations: 5.12 MB / 1.174 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02334/0.9742, allocations: 14.01 MB / 1.187 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/0.9853, allocations: 3.565 MB / 1.191 GB, free: 14.77 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00367/0.9891, allocations: 1.385 MB / 1.192 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.9892, allocations: 33.22 kB / 1.192 GB, free: 13.36 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00422/0.9934, allocations: 1.703 MB / 1.194 GB, free: 11.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=163): time 3.477e-06/0.9934, allocations: 0 / 1.194 GB, free: 11.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=250): time 0.1228/1.116, allocations: 27.42 MB / 1.221 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003399/1.117, allocations: 496.7 kB / 1.221 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/1.121, allocations: 2.3 MB / 1.223 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0005363/1.122, allocations: 77.7 kB / 1.223 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001617/1.123, allocations: 1.43 MB / 1.225 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/1.124, allocations: 0.8202 MB / 1.226 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008684/1.125, allocations: 416.5 kB / 1.226 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.125, allocations: 305.1 kB / 1.226 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004965/1.13, allocations: 1.759 MB / 1.228 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005362/1.136, allocations: 2.044 MB / 1.23 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.146, allocations: 3.841 MB / 1.234 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.146, allocations: 4 kB / 1.234 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01664/1.163, allocations: 5.802 MB / 1.239 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.163, allocations: 148.5 kB / 1.239 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.163, allocations: 4 kB / 1.239 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006643/1.169, allocations: 1.852 MB / 1.241 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/1.172, allocations: 0.4953 MB / 1.242 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02672/1.199, allocations: 15.42 MB / 1.257 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004314/1.203, allocations: 311.5 kB / 1.257 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005237/1.204, allocations: 88.16 kB / 1.257 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006614/1.211, allocations: 2.323 MB / 1.259 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005468/1.216, allocations: 2.027 MB / 1.261 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01021/1.226, allocations: 3.806 MB / 1.265 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.407e-06/1.226, allocations: 0 / 1.265 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01613/1.243, allocations: 5.646 MB / 1.271 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.243, allocations: 152.4 kB / 1.271 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/1.243, allocations: 7.828 kB / 1.271 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00582/1.249, allocations: 1.689 MB / 1.272 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003061/1.252, allocations: 0.5187 MB / 1.273 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0243/1.276, allocations: 14.62 MB / 1.287 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004269/1.28, allocations: 307.6 kB / 1.288 GB, free: 9.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005292/1.281, allocations: 91.97 kB / 1.288 GB, free: 9.777 MB / 1.014 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.001126/1.282, allocations: 322.1 kB / 1.288 GB, free: 9.457 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.283, allocations: 332.2 kB / 1.288 GB, free: 9.129 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/1.284, allocations: 388.1 kB / 1.289 GB, free: 8.742 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/1.284, allocations: 27.94 kB / 1.289 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.902e-05/1.284, allocations: 8 kB / 1.289 GB, free: 8.707 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.913e-05/1.284, allocations: 11.95 kB / 1.289 GB, free: 8.695 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/1.29, allocations: 3.172 MB / 1.292 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/1.29, allocations: 0 / 1.292 GB, free: 5.473 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002585/1.293, allocations: 431.4 kB / 1.292 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006251/1.299, allocations: 1.719 MB / 1.294 GB, free: 3.324 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/1.3, allocations: 47.97 kB / 1.294 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02519/1.325, allocations: 15.22 MB / 1.309 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.325, allocations: 0 / 1.309 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.341, allocations: 5.42 MB / 1.314 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/1.343, allocations: 0.657 MB / 1.315 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001092/1.344, allocations: 47.98 kB / 1.315 GB, free: 13.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003499/1.348, allocations: 299.6 kB / 1.315 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009358/1.349, allocations: 298.6 kB / 1.315 GB, free: 12.99 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002698/1.349, allocations: 75.97 kB / 1.315 GB, free: 12.91 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002825/1.352, allocations: 1.528 MB / 1.317 GB, free: 11.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.11e-07/1.352, allocations: 0 / 1.317 GB, free: 11.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.005817/1.358, allocations: 1.644 MB / 1.319 GB, free: 9.742 MB / 1.045 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.0005148/1.358, allocations: 168.3 kB / 1.319 GB, free: 9.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02714/1.385, allocations: 10.2 MB / 1.329 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.385, allocations: 0 / 1.329 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.008924/1.394, allocations: 3.326 MB / 1.332 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005965/1.4, allocations: 1.143 MB / 1.333 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/1.416, allocations: 6.77 MB / 1.34 GB, free: 3.934 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/1.419, allocations: 2.308 MB / 1.342 GB, free: 1.586 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/1.42, allocations: 207.4 kB / 1.342 GB, free: 1.383 MB / 1.061 GB Notification: Performance of SimCode: time 8.92e-07/1.42, allocations: 0 / 1.342 GB, free: 1.383 MB / 1.061 GB Notification: Performance of Templates: time 0.1068/1.527, allocations: 79.57 MB / 1.42 GB, free: 2.133 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)