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.732/2.732, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001539/0.001539, allocations: 183.2 kB / 370.8 MB, free: 10.87 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.223/2.223, allocations: 205.4 MB / 0.6295 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.001131/0.001131, allocations: 81.19 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005053, allocations: 16.19 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2291, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007854/0.237, allocations: 5.32 MB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008066/0.2452, allocations: 4.133 MB / 0.9874 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007839/0.246, allocations: 19.88 kB / 0.9874 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.2467, allocations: 147 kB / 0.9876 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002683/0.2494, allocations: 0.611 MB / 0.9882 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2506, allocations: 241.1 kB / 0.9884 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001785/0.2524, allocations: 0.6705 MB / 0.9891 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008675/0.2533, allocations: 488.4 kB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007703/0.2541, allocations: 334.8 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008418/0.255, allocations: 366.5 kB / 0.9902 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.2551, allocations: 32 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005938/0.2557, allocations: 143.8 kB / 0.9904 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.256, allocations: 183.4 kB / 0.9905 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.2562, allocations: 169.3 kB / 0.9907 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.2573, allocations: 0.8106 MB / 0.9915 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2573, allocations: 0 / 0.9915 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2573, allocations: 0 / 0.9915 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.113e-05/0.2573, allocations: 0 / 0.9915 GB, free: 14.71 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.002332/0.2597, allocations: 0.966 MB / 0.9924 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2598, allocations: 16.02 kB / 0.9925 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005331/0.2651, allocations: 0.6544 MB / 0.9931 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.2665, allocations: 0.5259 MB / 0.9936 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.2666, allocations: 41.3 kB / 0.9936 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.2667, allocations: 51.95 kB / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.27, allocations: 1.014 MB / 0.9947 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.2701, allocations: 11.88 kB / 0.9947 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.2702, allocations: 20 kB / 0.9947 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.2703, allocations: 45.3 kB / 0.9948 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004126/0.2745, allocations: 1.012 MB / 0.9957 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006297/0.2808, allocations: 3.513 MB / 0.9992 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.2834, allocations: 0.5182 MB / 0.9997 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.075e-05/0.2835, allocations: 7.984 kB / 0.9997 GB, free: 5.859 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2835, allocations: 38.56 kB / 0.9997 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 3.527e-06/0.2835, allocations: 4 kB / 0.9997 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43): time 0.01211/0.2957, allocations: 2.212 MB / 1.002 GB, free: 3.551 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2958, allocations: 59.41 kB / 1.002 GB, free: 3.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.2966, allocations: 0.5664 MB / 1.003 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.2968, allocations: 37.7 kB / 1.003 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.297, allocations: 356.2 kB / 1.003 GB, free: 2.512 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.2972, allocations: 145.8 kB / 1.003 GB, free: 2.367 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.2973, allocations: 12 kB / 1.003 GB, free: 2.355 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2974, allocations: 374.7 kB / 1.003 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.2986, allocations: 276.9 kB / 1.004 GB, free: 1.711 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.2999, allocations: 377.8 kB / 1.004 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.3011, allocations: 309.6 kB / 1.004 GB, free: 0.9961 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3012, allocations: 4 kB / 1.004 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.004097/0.3053, allocations: 0.9783 MB / 1.005 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006883/0.306, allocations: 1.221 MB / 1.006 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.306, allocations: 0 / 1.006 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.3081, allocations: 280.8 kB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.3094, allocations: 131.8 kB / 1.007 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/0.3215, allocations: 8.559 MB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.3227, allocations: 60 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.327e-05/0.3228, allocations: 20 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3229, allocations: 4 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004427/0.3273, allocations: 1.085 MB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.3274, allocations: 4 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/0.3289, allocations: 217.6 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.3302, allocations: 135.8 kB / 1.017 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009903/0.3401, allocations: 8.227 MB / 1.025 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.3413, allocations: 64 kB / 1.025 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.3414, allocations: 20 kB / 1.025 GB, free: 10.19 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.0006103/0.342, allocations: 309 kB / 1.025 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.3422, allocations: 63.25 kB / 1.025 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.3424, allocations: 78.36 kB / 1.025 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3424, allocations: 11.95 kB / 1.025 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.3424, allocations: 4 kB / 1.025 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3425, allocations: 0 / 1.025 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.3439, allocations: 0.6417 MB / 1.026 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.465e-06/0.3439, allocations: 0 / 1.026 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.3449, allocations: 95.92 kB / 1.026 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/0.3468, allocations: 273.1 kB / 1.026 GB, free: 8.645 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.555e-05/0.3469, allocations: 7.953 kB / 1.026 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01104/0.3579, allocations: 8.502 MB / 1.035 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.358, allocations: 0 / 1.035 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.3623, allocations: 0.9677 MB / 1.035 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.3628, allocations: 180.3 kB / 1.036 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.363, allocations: 8 kB / 1.036 GB, free: 14.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009302/0.3639, allocations: 59.94 kB / 1.036 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.3642, allocations: 39.94 kB / 1.036 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/0.3642, allocations: 8 kB / 1.036 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007685/0.365, allocations: 395.1 kB / 1.036 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.8e-07/0.365, allocations: 0 / 1.036 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001687/0.3667, allocations: 304 kB / 1.036 GB, free: 13.35 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.0002234/0.367, allocations: 111.2 kB / 1.037 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006811/0.3738, allocations: 2.418 MB / 1.039 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.3739, allocations: 0 / 1.039 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002501/0.3764, allocations: 1.023 MB / 1.04 GB, free: 9.555 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.378, allocations: 206.8 kB / 1.04 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.3823, allocations: 1.522 MB / 1.042 GB, free: 7.809 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/0.3832, allocations: 1.001 MB / 1.043 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001146/0.3844, allocations: 149.4 kB / 1.043 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.3847, allocations: 43.42 kB / 1.043 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of SimCode: time 3.106e-06/0.3847, allocations: 0 / 1.043 GB, free: 6.59 MB / 0.6667 GB Notification: Performance of Templates: time 0.03725/0.4219, allocations: 12.51 MB / 1.055 GB, free: 10.21 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)