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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001179/0.001179, allocations: 99.94 kB / 15.05 MB, free: 1.113 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.001387/0.001387, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.828/2.828, allocations: 436.5 MB / 0.7104 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 15.97 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.861, allocations: 153.7 MB / 1.021 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02105/0.8821, allocations: 19.16 MB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.02375/0.9059, allocations: 16.05 MB / 1.055 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003124/0.909, allocations: 91.44 kB / 1.055 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.9113, allocations: 0.5509 MB / 1.056 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.9216, allocations: 2.813 MB / 1.059 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003349/0.9249, allocations: 0.9373 MB / 1.059 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.007587/0.9325, allocations: 3.333 MB / 1.063 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004109/0.9367, allocations: 2.017 MB / 1.065 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.941, allocations: 1.717 MB / 1.066 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004907/0.946, allocations: 1.747 MB / 1.068 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0009417/0.947, allocations: 164 kB / 1.068 GB, free: 380 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.9489, allocations: 475.4 kB / 1.069 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.95, allocations: 0.8566 MB / 1.07 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.9516, allocations: 0.6873 MB / 1.07 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005407/0.957, allocations: 3.789 MB / 1.074 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.957, allocations: 0 / 1.074 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.046e-06/0.957, allocations: 0 / 1.074 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000188/0.9572, allocations: 0 / 1.074 GB, free: 10.55 MB / 0.8262 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.008854/0.9661, allocations: 3.869 MB / 1.078 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.9661, allocations: 11.98 kB / 1.078 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.9826, allocations: 3.401 MB / 1.081 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/0.9872, allocations: 1.96 MB / 1.083 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.9873, allocations: 172.7 kB / 1.083 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005277/0.9879, allocations: 235.9 kB / 1.083 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01265/1.001, allocations: 4.713 MB / 1.088 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.329e-05/1.001, allocations: 0 / 1.088 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/1.001, allocations: 108 kB / 1.088 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002522/1.001, allocations: 168.8 kB / 1.088 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/1.016, allocations: 5.222 MB / 1.093 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/1.039, allocations: 14.11 MB / 1.107 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/1.05, allocations: 3.853 MB / 1.111 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001546/1.05, allocations: 29.28 kB / 1.111 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004124/1.054, allocations: 1.817 MB / 1.113 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=163): time 3.416e-06/1.054, allocations: 0 / 1.113 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=250): time 0.1304/1.185, allocations: 33.4 MB / 1.145 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002646/1.185, allocations: 0.4889 MB / 1.146 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004452/1.189, allocations: 2.269 MB / 1.148 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0006668/1.19, allocations: 81.69 kB / 1.148 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001606/1.192, allocations: 1.434 MB / 1.149 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.193, allocations: 0.8124 MB / 1.15 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003936/1.193, allocations: 48 kB / 1.15 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002349/1.194, allocations: 398.6 kB / 1.151 GB, free: 10 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005343/1.199, allocations: 1.921 MB / 1.153 GB, free: 8.074 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005501/1.205, allocations: 2.212 MB / 1.155 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005508/1.21, allocations: 2.128 MB / 1.157 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/1.21, allocations: 0 / 1.157 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01794/1.228, allocations: 6.169 MB / 1.163 GB, free: 13.33 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.001575/1.23, allocations: 2.455 MB / 1.165 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/1.23, allocations: 11.95 kB / 1.165 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007048/1.237, allocations: 1.844 MB / 1.167 GB, free: 8.746 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003287/1.24, allocations: 0.5891 MB / 1.168 GB, free: 8.156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02593/1.266, allocations: 14.82 MB / 1.182 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004523/1.271, allocations: 407.6 kB / 1.182 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006347/1.271, allocations: 95.91 kB / 1.183 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.271, allocations: 4 kB / 1.183 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01741/1.289, allocations: 5.745 MB / 1.188 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/1.289, allocations: 4 kB / 1.188 GB, free: 2.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00537/1.294, allocations: 1.825 MB / 1.19 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/1.298, allocations: 0.6124 MB / 1.191 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02266/1.32, allocations: 14.06 MB / 1.204 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/1.325, allocations: 403.6 kB / 1.205 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005296/1.325, allocations: 83.98 kB / 1.205 GB, free: 1.531 MB / 0.9512 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.002028/1.327, allocations: 0.78 MB / 1.205 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000888/1.328, allocations: 340 kB / 1.206 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00085/1.329, allocations: 392.1 kB / 1.206 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.934e-05/1.329, allocations: 24.05 kB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.51e-05/1.329, allocations: 8 kB / 1.206 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/1.329, allocations: 11.91 kB / 1.206 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004842/1.334, allocations: 3.173 MB / 1.209 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-05/1.334, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002765/1.337, allocations: 0.5189 MB / 1.21 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006622/1.343, allocations: 1.715 MB / 1.211 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005097/1.344, allocations: 47.97 kB / 1.212 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02377/1.368, allocations: 14.61 MB / 1.226 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.368, allocations: 0 / 1.226 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/1.384, allocations: 5.779 MB / 1.231 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.386, allocations: 0.6648 MB / 1.232 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008088/1.386, allocations: 48.56 kB / 1.232 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003379/1.39, allocations: 399.6 kB / 1.233 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008982/1.391, allocations: 306.6 kB / 1.233 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/1.391, allocations: 71.97 kB / 1.233 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002569/1.394, allocations: 1.505 MB / 1.234 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.394, allocations: 4 kB / 1.234 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.005232/1.399, allocations: 1.625 MB / 1.236 GB, free: 1.125 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004284/1.399, allocations: 159 kB / 1.236 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02508/1.424, allocations: 10.07 MB / 1.246 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.317e-05/1.424, allocations: 4 kB / 1.246 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008878/1.433, allocations: 3.499 MB / 1.249 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006346/1.44, allocations: 0.9985 MB / 1.25 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6386/2.078, allocations: 7.576 MB / 1.258 GB, free: 209.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003494/2.082, allocations: 2.376 MB / 1.26 GB, free: 208.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003849/2.086, allocations: 0.631 MB / 1.261 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008554/2.087, allocations: 178.1 kB / 1.261 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.021e-06/2.087, allocations: 0 / 1.261 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.1151/2.202, allocations: 74.04 MB / 1.333 GB, free: 160.1 MB / 0.9981 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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)