Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.574/2.574, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 179.1 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 90.41 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006469/0.0006471, allocations: 10.97 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2521, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.00889/0.261, allocations: 5.538 MB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007918/0.269, allocations: 4.261 MB / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006315/0.2697, allocations: 19.88 kB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006043/0.2703, allocations: 134.9 kB / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.2726, allocations: 0.629 MB / 0.9887 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009021/0.2735, allocations: 240.5 kB / 0.9889 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00157/0.2751, allocations: 1.191 MB / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007409/0.2759, allocations: 488.4 kB / 0.9905 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006139/0.2765, allocations: 382.4 kB / 0.9909 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008526/0.2774, allocations: 478.2 kB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.2775, allocations: 32 kB / 0.9914 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.2781, allocations: 139.8 kB / 0.9915 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.2784, allocations: 207.3 kB / 0.9917 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.2786, allocations: 161.3 kB / 0.9919 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009187/0.2795, allocations: 0.8106 MB / 0.9927 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.2795, allocations: 0 / 0.9927 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2795, allocations: 0 / 0.9927 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.2795, allocations: 0 / 0.9927 GB, free: 13.65 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002162/0.2817, allocations: 0.9738 MB / 0.9936 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2818, allocations: 12.02 kB / 0.9936 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005292/0.2871, allocations: 0.6544 MB / 0.9943 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.2883, allocations: 0.522 MB / 0.9948 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.017e-05/0.2884, allocations: 45.23 kB / 0.9948 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2885, allocations: 51.95 kB / 0.9949 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.2915, allocations: 1.018 MB / 0.9959 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.2916, allocations: 4 kB / 0.9959 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.2917, allocations: 27.98 kB / 0.9959 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.915e-05/0.2918, allocations: 45.3 kB / 0.9959 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003792/0.2956, allocations: 1.016 MB / 0.9969 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.3012, allocations: 3.506 MB / 1 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.3036, allocations: 0.5204 MB / 1.001 GB, free: 4.805 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009251/0.3045, allocations: 240.7 kB / 1.001 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.3046, allocations: 11.97 kB / 1.001 GB, free: 4.555 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3046, allocations: 38.56 kB / 1.001 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 4.448e-06/0.3047, allocations: 0 / 1.001 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.01169/0.3164, allocations: 2.219 MB / 1.003 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.3164, allocations: 55.41 kB / 1.003 GB, free: 2.176 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.3173, allocations: 0.5665 MB / 1.004 GB, free: 1.602 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.3173, allocations: 37.7 kB / 1.004 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.3176, allocations: 360.2 kB / 1.004 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.3177, allocations: 149.8 kB / 1.004 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3178, allocations: 8 kB / 1.004 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3179, allocations: 370.8 kB / 1.005 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.3191, allocations: 276.9 kB / 1.005 GB, free: 416 kB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.3203, allocations: 387.4 kB / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.3216, allocations: 305.7 kB / 1.006 GB, free: 15.69 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3216, allocations: 4 kB / 1.006 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004409/0.3261, allocations: 0.9746 MB / 1.007 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.3263, allocations: 176.2 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.3263, allocations: 4 kB / 1.007 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.3282, allocations: 276.9 kB / 1.007 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.3294, allocations: 127.8 kB / 1.007 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.3401, allocations: 8.481 MB / 1.016 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/0.3413, allocations: 56.05 kB / 1.016 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.3414, allocations: 23.98 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.3414, allocations: 4 kB / 1.016 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004219/0.3456, allocations: 1.082 MB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3457, allocations: 4 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.3471, allocations: 217 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.3483, allocations: 131.8 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009072/0.3573, allocations: 8.152 MB / 1.025 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3585, allocations: 67.98 kB / 1.025 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/0.3586, allocations: 23.94 kB / 1.025 GB, free: 10.14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005739/0.3592, allocations: 309 kB / 1.025 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.3593, allocations: 63.25 kB / 1.025 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.3596, allocations: 82.36 kB / 1.025 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.3596, allocations: 4 kB / 1.025 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.3596, allocations: 0 / 1.025 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.3596, allocations: 3.953 kB / 1.025 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.3609, allocations: 0.6533 MB / 1.026 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3609, allocations: 0 / 1.026 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009763/0.3619, allocations: 103.8 kB / 1.026 GB, free: 8.863 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/0.3636, allocations: 256.9 kB / 1.026 GB, free: 8.594 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.369e-05/0.3637, allocations: 8 kB / 1.026 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009935/0.3736, allocations: 8.42 MB / 1.035 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3737, allocations: 4.125 kB / 1.035 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.3778, allocations: 0.9638 MB / 1.036 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004285/0.3783, allocations: 184.5 kB / 1.036 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.3785, allocations: 7.953 kB / 1.036 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008994/0.3794, allocations: 51.94 kB / 1.036 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/0.3796, allocations: 47.94 kB / 1.036 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.3797, allocations: 12 kB / 1.036 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007566/0.3804, allocations: 399.1 kB / 1.036 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3804, allocations: 0 / 1.036 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001593/0.382, allocations: 296 kB / 1.037 GB, free: 13.37 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002156/0.3823, allocations: 116.7 kB / 1.037 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006608/0.3889, allocations: 2.418 MB / 1.039 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.3889, allocations: 8.062 kB / 1.039 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002415/0.3914, allocations: 1.015 MB / 1.04 GB, free: 9.574 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.3931, allocations: 200.7 kB / 1.04 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004001/0.3971, allocations: 1.532 MB / 1.042 GB, free: 7.82 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/0.398, allocations: 0.9821 MB / 1.043 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001083/0.3991, allocations: 145.4 kB / 1.043 GB, free: 6.664 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.3993, allocations: 47.42 kB / 1.043 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of SimCode: time 1.192e-06/0.3994, allocations: 0 / 1.043 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of Templates: time 0.03953/0.4389, allocations: 12.51 MB / 1.055 GB, free: 10.24 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)