Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.009531/0.009531, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001284/0.001284, allocations: 195 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.686/1.686, allocations: 251.7 MB / 0.5094 GB, free: 3.078 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 75.89 kB / 0.7258 GB, free: 9.02 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2285, allocations: 104.7 MB / 0.8281 GB, free: 196 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02448/0.2531, allocations: 22.42 MB / 0.85 GB, free: 9.684 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02821/0.2813, allocations: 17.75 MB / 0.8673 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00573/0.2871, allocations: 111.4 kB / 0.8674 GB, free: 7.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01598/0.3032, allocations: 4.173 MB / 0.8715 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.02109/0.3243, allocations: 3.508 MB / 0.8749 GB, free: 72 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006465/0.3308, allocations: 1.318 MB / 0.8762 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01398/0.3448, allocations: 5.787 MB / 0.8818 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008435/0.3533, allocations: 3.592 MB / 0.8854 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007678/0.361, allocations: 2.41 MB / 0.8877 GB, free: 2.863 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007345/0.3684, allocations: 2.436 MB / 0.8901 GB, free: 428 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001557/0.3701, allocations: 372 kB / 0.8904 GB, free: 56 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003268/0.3733, allocations: 1.034 MB / 0.8915 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.3747, allocations: 1.195 MB / 0.8926 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003925/0.3787, allocations: 2.002 MB / 0.8946 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007162/0.3859, allocations: 5.179 MB / 0.8996 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.3859, allocations: 4 kB / 0.8996 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.167e-06/0.3859, allocations: 0 / 0.8996 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001625/0.3861, allocations: 0 / 0.8996 GB, free: 6.609 MB / 0.7169 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.01187/0.398, allocations: 4.611 MB / 0.9041 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.398, allocations: 12.03 kB / 0.9041 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5717/0.9697, allocations: 3.264 MB / 0.9073 GB, free: 70.65 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007553/0.9774, allocations: 2.223 MB / 0.9095 GB, free: 70.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005912/0.978, allocations: 469.8 kB / 0.91 GB, free: 69.85 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001373/0.9794, allocations: 232.7 kB / 0.9102 GB, free: 69.85 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.995, allocations: 4.811 MB / 0.9149 GB, free: 68.28 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/0.9951, allocations: 9.219 kB / 0.9149 GB, free: 68.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003759/0.9954, allocations: 110.4 kB / 0.915 GB, free: 68.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003187/0.9958, allocations: 170 kB / 0.9152 GB, free: 68.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/1.014, allocations: 5.197 MB / 0.9202 GB, free: 66.67 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/1.046, allocations: 14.38 MB / 0.9343 GB, free: 56.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/1.061, allocations: 3.393 MB / 0.9376 GB, free: 55.2 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00582/1.067, allocations: 1.467 MB / 0.939 GB, free: 54.45 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/1.067, allocations: 20.72 kB / 0.939 GB, free: 54.45 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006554/1.074, allocations: 1.8 MB / 0.9408 GB, free: 53.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 6.332e-06/1.074, allocations: 0 / 0.9408 GB, free: 53.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.1326/1.206, allocations: 28.24 MB / 0.9684 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002193/1.206, allocations: 0.4928 MB / 0.9688 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003638/1.21, allocations: 2.289 MB / 0.9711 GB, free: 30.81 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006614/1.211, allocations: 78.92 kB / 0.9712 GB, free: 30.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00121/1.212, allocations: 1.434 MB / 0.9726 GB, free: 29.28 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008386/1.213, allocations: 0.8267 MB / 0.9734 GB, free: 28.46 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000809/1.214, allocations: 416.4 kB / 0.9738 GB, free: 28.05 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.654e-05/1.214, allocations: 305.1 kB / 0.9741 GB, free: 27.75 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.219, allocations: 1.929 MB / 0.9759 GB, free: 25.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004883/1.223, allocations: 2.231 MB / 0.9781 GB, free: 23.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009583/1.233, allocations: 4.165 MB / 0.9822 GB, free: 19.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/1.233, allocations: 4 kB / 0.9822 GB, free: 19.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01723/1.25, allocations: 6.535 MB / 0.9886 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.251, allocations: 148.5 kB / 0.9887 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/1.251, allocations: 4 kB / 0.9887 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009381/1.26, allocations: 2.93 MB / 0.9916 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002929/1.263, allocations: 488.4 kB / 0.992 GB, free: 8.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03888/1.302, allocations: 18.84 MB / 1.01 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005156/1.307, allocations: 315.6 kB / 1.011 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/1.308, allocations: 91.97 kB / 1.011 GB, free: 5.543 MB / 0.7325 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.00176/1.309, allocations: 0.7001 MB / 1.012 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007852/1.31, allocations: 332.1 kB / 1.012 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008101/1.311, allocations: 388.1 kB / 1.012 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/1.311, allocations: 27.25 kB / 1.012 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.255e-05/1.311, allocations: 12 kB / 1.012 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/1.311, allocations: 11.95 kB / 1.012 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005074/1.316, allocations: 3.624 MB / 1.016 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/1.316, allocations: 4.828 kB / 1.016 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002489/1.319, allocations: 415.3 kB / 1.016 GB, free: 32 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009798/1.328, allocations: 2.868 MB / 1.019 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005465/1.329, allocations: 51.97 kB / 1.019 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03973/1.369, allocations: 18.61 MB / 1.037 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.369, allocations: 4.875 kB / 1.037 GB, free: 10.21 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/1.389, allocations: 6.169 MB / 1.043 GB, free: 4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002674/1.392, allocations: 0.7031 MB / 1.044 GB, free: 3.277 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009265/1.393, allocations: 51.94 kB / 1.044 GB, free: 3.227 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003657/1.397, allocations: 315.6 kB / 1.044 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001636/1.398, allocations: 358.7 kB / 1.045 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003078/1.399, allocations: 67.97 kB / 1.045 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00318/1.402, allocations: 1.532 MB / 1.046 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8.72e-07/1.402, allocations: 0 / 1.046 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004832/1.407, allocations: 1.043 MB / 1.047 GB, free: 15.93 MB / 0.7794 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.0004778/1.407, allocations: 176 kB / 1.047 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02688/1.434, allocations: 6.476 MB / 1.054 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/1.434, allocations: 0 / 1.054 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01903/1.453, allocations: 4.048 MB / 1.058 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/1.46, allocations: 1.14 MB / 1.059 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/1.478, allocations: 6.696 MB / 1.065 GB, free: 13.31 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002827/1.481, allocations: 2.231 MB / 1.067 GB, free: 11.05 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002751/1.483, allocations: 0.5099 MB / 1.068 GB, free: 10.54 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009064/1.484, allocations: 191.4 kB / 1.068 GB, free: 10.35 MB / 0.795 GB Notification: Performance of SimCode: time 1.724e-06/1.484, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.795 GB Notification: Performance of Templates: time 0.1321/1.617, allocations: 75.66 MB / 1.142 GB, free: 15.66 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)