Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_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_11_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.001471/0.001471, allocations: 102.1 kB / 15.98 MB, free: 5.891 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.001564/0.001565, allocations: 193.2 kB / 16.91 MB, free: 5.746 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.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 469.8 MB / 0.7427 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 66.81 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02655/0.3231, allocations: 22.43 MB / 1.086 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02545/0.3486, allocations: 17.44 MB / 1.103 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003044/0.3517, allocations: 111.3 kB / 1.103 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.3622, allocations: 3.929 MB / 1.107 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01019/0.3724, allocations: 3.192 MB / 1.11 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.3758, allocations: 1.185 MB / 1.111 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008609/0.3845, allocations: 5.797 MB / 1.117 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006274/0.3908, allocations: 4.019 MB / 1.121 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.3954, allocations: 2.456 MB / 1.123 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00454/0.4, allocations: 2.514 MB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.4011, allocations: 372 kB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.4034, allocations: 1.03 MB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.4047, allocations: 1.207 MB / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002843/0.4076, allocations: 1.998 MB / 1.13 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005478/0.4131, allocations: 4.081 MB / 1.134 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4131, allocations: 0 / 1.134 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.947e-06/0.4131, allocations: 0 / 1.134 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001417/0.4132, allocations: 7.938 kB / 1.134 GB, free: 6.559 MB / 0.8887 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.0115/0.4248, allocations: 4.612 MB / 1.139 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4248, allocations: 8.031 kB / 1.139 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.4408, allocations: 3.265 MB / 1.142 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/0.4452, allocations: 2.092 MB / 1.144 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004564/0.4457, allocations: 470.3 kB / 1.144 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007848/0.4465, allocations: 235.9 kB / 1.145 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.4578, allocations: 4.814 MB / 1.149 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.938e-05/0.4579, allocations: 7.938 kB / 1.149 GB, free: 6.668 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000361/0.4583, allocations: 104 kB / 1.149 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/0.4585, allocations: 172.8 kB / 1.15 GB, free: 6.395 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.4721, allocations: 5.187 MB / 1.155 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02377/0.4959, allocations: 14.48 MB / 1.169 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009752/0.5057, allocations: 3.39 MB / 1.172 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003664/0.5094, allocations: 1.467 MB / 1.174 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.5095, allocations: 25.28 kB / 1.174 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004264/0.5138, allocations: 1.799 MB / 1.175 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 4.048e-06/0.5138, allocations: 0 / 1.175 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1229/0.6368, allocations: 28.2 MB / 1.203 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003034/0.6371, allocations: 0.4966 MB / 1.203 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/0.6409, allocations: 2.3 MB / 1.206 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004696/0.6414, allocations: 77.7 kB / 1.206 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/0.6429, allocations: 1.434 MB / 1.207 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.6439, allocations: 0.824 MB / 1.208 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.6451, allocations: 416.5 kB / 1.208 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6452, allocations: 305.1 kB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005125/0.6503, allocations: 1.933 MB / 1.21 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005445/0.6558, allocations: 2.223 MB / 1.213 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/0.6664, allocations: 4.161 MB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.6665, allocations: 7.938 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0186/0.6851, allocations: 6.535 MB / 1.223 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.6852, allocations: 144.8 kB / 1.223 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.6853, allocations: 12 kB / 1.223 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/0.6957, allocations: 2.945 MB / 1.226 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.6985, allocations: 495.2 kB / 1.227 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04037/0.7389, allocations: 18.86 MB / 1.245 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/0.7428, allocations: 319.5 kB / 1.245 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003934/0.7432, allocations: 95.97 kB / 1.245 GB, free: 2.039 MB / 0.9981 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.001599/0.7448, allocations: 0.7105 MB / 1.246 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007226/0.7456, allocations: 324.2 kB / 1.246 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007986/0.7464, allocations: 380.1 kB / 1.247 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.7464, allocations: 24 kB / 1.247 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.684e-05/0.7464, allocations: 12 kB / 1.247 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.046e-05/0.7465, allocations: 11.95 kB / 1.247 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5021/1.249, allocations: 3.635 MB / 1.25 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.249, allocations: 0 / 1.25 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002347/1.251, allocations: 411.2 kB / 1.251 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009044/1.26, allocations: 2.894 MB / 1.254 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003887/1.26, allocations: 51.56 kB / 1.254 GB, free: 170 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03544/1.296, allocations: 18.62 MB / 1.272 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.296, allocations: 0.75 kB / 1.272 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01669/1.313, allocations: 6.175 MB / 1.278 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.315, allocations: 0.7047 MB / 1.279 GB, free: 162 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006293/1.315, allocations: 43.97 kB / 1.279 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.318, allocations: 313.7 kB / 1.279 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001409/1.32, allocations: 365.8 kB / 1.279 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002439/1.32, allocations: 68.89 kB / 1.279 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002011/1.322, allocations: 1.53 MB / 1.281 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.322, allocations: 0 / 1.281 GB, free: 161.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003012/1.325, allocations: 1.043 MB / 1.282 GB, free: 161.1 MB / 0.9981 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.0003647/1.325, allocations: 171.7 kB / 1.282 GB, free: 161 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02258/1.348, allocations: 7.3 MB / 1.289 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.348, allocations: 3.969 kB / 1.289 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01436/1.362, allocations: 4.05 MB / 1.293 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004512/1.367, allocations: 1.139 MB / 1.294 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.379, allocations: 8.237 MB / 1.302 GB, free: 152.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/1.381, allocations: 2.229 MB / 1.304 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/1.382, allocations: 201.8 kB / 1.305 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.382, allocations: 0 / 1.305 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.07219/1.454, allocations: 79.94 MB / 1.383 GB, free: 73.24 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)