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.001312/0.001312, allocations: 100.1 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.001427/0.001427, 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 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.639/1.639, allocations: 251.9 MB / 0.51 GB, free: 4.82 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.0005835/0.0005836, allocations: 19.98 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5805/0.5811, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02069/0.6018, allocations: 19.17 MB / 0.7467 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02366/0.6255, allocations: 16.07 MB / 0.7624 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004829/0.6304, allocations: 99.38 kB / 0.7625 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003484/0.6339, allocations: 0.5471 MB / 0.763 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.6469, allocations: 2.827 MB / 0.7658 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/0.6506, allocations: 0.9407 MB / 0.7667 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008614/0.6593, allocations: 3.422 MB / 0.77 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00537/0.6647, allocations: 2.067 MB / 0.7721 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005118/0.6698, allocations: 1.814 MB / 0.7738 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005487/0.6754, allocations: 1.794 MB / 0.7756 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.6765, allocations: 180 kB / 0.7757 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.679, allocations: 491.4 kB / 0.7762 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.68, allocations: 0.88 MB / 0.7771 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001459/0.6815, allocations: 0.6912 MB / 0.7778 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006418/0.6879, allocations: 3.898 MB / 0.7816 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.688, allocations: 0 / 0.7816 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.847e-06/0.688, allocations: 0 / 0.7816 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002361/0.6882, allocations: 0 / 0.7816 GB, free: 4.391 MB / 0.5919 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.01133/0.6996, allocations: 4.115 MB / 0.7856 GB, free: 168 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.6996, allocations: 8.031 kB / 0.7856 GB, free: 160 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/0.717, allocations: 3.405 MB / 0.7889 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006162/0.7232, allocations: 1.983 MB / 0.7908 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004805/0.7238, allocations: 465.7 kB / 0.7913 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008065/0.7246, allocations: 232 kB / 0.7915 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.7366, allocations: 4.834 MB / 0.7962 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.884e-05/0.7367, allocations: 0 / 0.7962 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003515/0.7371, allocations: 107.9 kB / 0.7963 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/0.7373, allocations: 172.8 kB / 0.7965 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01377/0.7511, allocations: 5.3 MB / 0.8017 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02836/0.7795, allocations: 14.58 MB / 0.8159 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.7902, allocations: 3.675 MB / 0.8195 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.7905, allocations: 25.28 kB / 0.8195 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00476/0.7952, allocations: 1.914 MB / 0.8214 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=163): time 6.442e-06/0.7953, allocations: 0 / 0.8214 GB, free: 9.938 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250): time 0.134/0.9292, allocations: 34.09 MB / 0.8547 GB, free: 7.621 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003846/0.9297, allocations: 0.5006 MB / 0.8552 GB, free: 7.008 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00456/0.9343, allocations: 2.277 MB / 0.8574 GB, free: 4.719 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006129/0.9349, allocations: 73.7 kB / 0.8575 GB, free: 4.641 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.9365, allocations: 1.43 MB / 0.8589 GB, free: 3.195 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/0.9377, allocations: 0.8201 MB / 0.8597 GB, free: 2.363 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.9381, allocations: 51.94 kB / 0.8597 GB, free: 2.312 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002356/0.9383, allocations: 394.7 kB / 0.8601 GB, free: 1.922 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005681/0.944, allocations: 2.108 MB / 0.8621 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006208/0.9502, allocations: 2.399 MB / 0.8645 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006004/0.9563, allocations: 2.288 MB / 0.8667 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.9563, allocations: 4 kB / 0.8667 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0215/0.9778, allocations: 6.887 MB / 0.8735 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.978, allocations: 148.5 kB / 0.8736 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.978, allocations: 8 kB / 0.8736 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/0.9886, allocations: 2.938 MB / 0.8765 GB, free: 0.8711 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003178/0.9918, allocations: 0.5696 MB / 0.877 GB, free: 308 kB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04432/1.036, allocations: 18.15 MB / 0.8948 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004726/1.041, allocations: 419.6 kB / 0.8952 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004422/1.041, allocations: 83.98 kB / 0.8952 GB, free: 13.43 MB / 0.7169 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 (162): * Single equations (assignments): 155 * 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 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.001703/1.043, allocations: 0.7067 MB / 0.8959 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007453/1.044, allocations: 336.1 kB / 0.8962 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007393/1.045, allocations: 380.1 kB / 0.8966 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/1.045, allocations: 24 kB / 0.8966 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-05/1.045, allocations: 11.95 kB / 0.8966 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-05/1.045, allocations: 11.95 kB / 0.8967 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00494/1.05, allocations: 3.632 MB / 0.9002 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.05, allocations: 4.141 kB / 0.9002 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002717/1.052, allocations: 0.4994 MB / 0.9007 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009766/1.062, allocations: 2.868 MB / 0.9035 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004858/1.063, allocations: 51.97 kB / 0.9035 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5494/1.612, allocations: 17.94 MB / 0.9211 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.612, allocations: 0 / 0.9211 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/1.629, allocations: 6.529 MB / 0.9274 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002163/1.631, allocations: 0.689 MB / 0.9281 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006007/1.632, allocations: 51.41 kB / 0.9282 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003118/1.635, allocations: 411.8 kB / 0.9286 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/1.636, allocations: 369.7 kB / 0.9289 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00018/1.636, allocations: 70.8 kB / 0.929 GB, free: 157 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001918/1.638, allocations: 1.505 MB / 0.9304 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.638, allocations: 0 / 0.9304 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002566/1.641, allocations: 1.046 MB / 0.9315 GB, free: 156.4 MB / 0.7169 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 (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 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003334/1.641, allocations: 163.8 kB / 0.9316 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.02057/1.662, allocations: 6.824 MB / 0.9383 GB, free: 154 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.662, allocations: 0 / 0.9383 GB, free: 154 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.01535/1.677, allocations: 4.236 MB / 0.9424 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005046/1.682, allocations: 1.001 MB / 0.9434 GB, free: 150.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.695, allocations: 7.756 MB / 0.951 GB, free: 142.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/1.697, allocations: 2.301 MB / 0.9532 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002355/1.699, allocations: 0.5138 MB / 0.9537 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/1.7, allocations: 175.4 kB / 0.9539 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/1.7, allocations: 0 / 0.9539 GB, free: 139.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.09037/1.79, allocations: 70.05 MB / 1.022 GB, free: 70.32 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: