Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001293/0.001293, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001494/0.001494, allocations: 177.3 kB / 15.95 MB, free: 216 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.508/1.508, 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 9.1.2-maint.9.1.x/package.mo): time 2.693/2.693, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 8 kB / 0.8145 GB, free: 14.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8148, allocations: 142.3 MB / 0.9535 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.01976/0.8346, allocations: 19.15 MB / 0.9722 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02562/0.8603, allocations: 16.06 MB / 0.9879 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004422/0.8647, allocations: 91.44 kB / 0.988 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0037/0.8685, allocations: 0.5509 MB / 0.9885 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.8815, allocations: 2.816 MB / 0.9913 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.8857, allocations: 0.9502 MB / 0.9922 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.008697/0.8944, allocations: 3.33 MB / 0.9955 GB, free: 5.129 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004809/0.8992, allocations: 2.017 MB / 0.9974 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004216/0.9035, allocations: 1.713 MB / 0.9991 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00405/0.9076, allocations: 1.759 MB / 1.001 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.9087, allocations: 164 kB / 1.001 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.9111, allocations: 475.3 kB / 1.001 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.9126, allocations: 0.8528 MB / 1.002 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.9142, allocations: 0.6834 MB / 1.003 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005204/0.9194, allocations: 3.796 MB / 1.007 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9194, allocations: 0 / 1.007 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.098e-06/0.9195, allocations: 4 kB / 1.007 GB, free: 9.582 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0002249/0.9197, allocations: 3.938 kB / 1.007 GB, free: 9.578 MB / 0.7637 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.01073/0.9304, allocations: 3.869 MB / 1.01 GB, free: 5.598 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.9305, allocations: 8.031 kB / 1.01 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01689/0.9474, allocations: 3.397 MB / 1.014 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005452/0.9529, allocations: 1.96 MB / 1.016 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.9531, allocations: 176.8 kB / 1.016 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007199/0.9539, allocations: 228 kB / 1.016 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.9648, allocations: 4.72 MB / 1.021 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.9649, allocations: 7.891 kB / 1.021 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000308/0.9652, allocations: 104 kB / 1.021 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002077/0.9654, allocations: 168.8 kB / 1.021 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01314/0.9786, allocations: 5.222 MB / 1.026 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/1.001, allocations: 14.11 MB / 1.04 GB, free: 6.094 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/1.012, allocations: 3.853 MB / 1.044 GB, free: 2.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/1.012, allocations: 25.3 kB / 1.044 GB, free: 2.207 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004078/1.016, allocations: 1.825 MB / 1.045 GB, free: 324 kB / 0.795 GB Notification: Performance of pre-optimization done (n=163): time 4.067e-06/1.016, allocations: 0 / 1.045 GB, free: 324 kB / 0.795 GB Notification: Performance of matching and sorting (n=250): time 0.1239/1.14, allocations: 33.39 MB / 1.078 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000319/1.14, allocations: 0.4928 MB / 1.078 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0033/1.144, allocations: 2.277 MB / 1.081 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0004345/1.144, allocations: 77.7 kB / 1.081 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001319/1.145, allocations: 1.434 MB / 1.082 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008762/1.146, allocations: 0.8201 MB / 1.083 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/1.146, allocations: 48 kB / 1.083 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.147, allocations: 394.7 kB / 1.083 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004717/1.151, allocations: 1.921 MB / 1.085 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004962/1.156, allocations: 2.212 MB / 1.087 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004874/1.161, allocations: 2.128 MB / 1.089 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/1.161, allocations: 0 / 1.089 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01631/1.177, allocations: 6.169 MB / 1.096 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000901/1.178, allocations: 2.452 MB / 1.098 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/1.178, allocations: 4 kB / 1.098 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007053/1.186, allocations: 1.844 MB / 1.1 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002978/1.189, allocations: 0.5929 MB / 1.1 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/1.211, allocations: 14.82 MB / 1.115 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/1.215, allocations: 407.6 kB / 1.115 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004862/1.216, allocations: 91.97 kB / 1.115 GB, free: 7.637 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.216, allocations: 4 kB / 1.115 GB, free: 7.633 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01454/1.23, allocations: 5.749 MB / 1.121 GB, free: 1.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/1.23, allocations: 4 kB / 1.121 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005005/1.235, allocations: 1.821 MB / 1.123 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003176/1.239, allocations: 0.6047 MB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/1.26, allocations: 14.05 MB / 1.137 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/1.264, allocations: 411.5 kB / 1.137 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002652/1.264, allocations: 87.97 kB / 1.137 GB, free: 0.543 MB / 0.8887 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.001668/1.266, allocations: 0.7839 MB / 1.138 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005153/1.267, allocations: 336.1 kB / 1.139 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007003/1.267, allocations: 388.1 kB / 1.139 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/1.267, allocations: 24 kB / 1.139 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.33e-05/1.267, allocations: 11.98 kB / 1.139 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/1.267, allocations: 15.86 kB / 1.139 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004486/1.272, allocations: 3.165 MB / 1.142 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.272, allocations: 4 kB / 1.142 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.274, allocations: 0.5189 MB / 1.143 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005627/1.28, allocations: 1.711 MB / 1.144 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/1.28, allocations: 51.97 kB / 1.144 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/1.301, allocations: 14.61 MB / 1.159 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.301, allocations: 0 / 1.159 GB, free: 10.59 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/1.316, allocations: 5.783 MB / 1.164 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/1.319, allocations: 0.6648 MB / 1.165 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007803/1.319, allocations: 55.94 kB / 1.165 GB, free: 4.027 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/1.322, allocations: 395.6 kB / 1.165 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009672/1.323, allocations: 314.6 kB / 1.166 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.324, allocations: 63.98 kB / 1.166 GB, free: 3.273 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002165/1.326, allocations: 1.509 MB / 1.167 GB, free: 1.766 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.326, allocations: 0 / 1.167 GB, free: 1.766 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.004769/1.331, allocations: 1.633 MB / 1.169 GB, free: 136 kB / 0.92 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.0004041/1.331, allocations: 166.8 kB / 1.169 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0235/1.355, allocations: 10.08 MB / 1.179 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/1.355, allocations: 0 / 1.179 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.009234/1.364, allocations: 3.495 MB / 1.182 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005434/1.369, allocations: 1.003 MB / 1.183 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/1.385, allocations: 7.566 MB / 1.19 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/1.388, allocations: 2.371 MB / 1.193 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00379/1.392, allocations: 0.6309 MB / 1.193 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/1.393, allocations: 187.3 kB / 1.194 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of SimCode: time 1.292e-06/1.393, allocations: 0 / 1.194 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of Templates: time 0.659/2.052, allocations: 74.03 MB / 1.266 GB, free: 261.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)