Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.186/2.186, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.001359, allocations: 176.8 kB / 326.2 MB, free: 2.879 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.462/2.462, allocations: 205.4 MB / 0.5772 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009128/0.0009127, allocations: 89.72 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004713, allocations: 12.81 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2511, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01115/0.2623, allocations: 5.549 MB / 0.9049 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.2734, allocations: 4.242 MB / 0.9091 GB, free: 55.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000916/0.2744, allocations: 23.81 kB / 0.9091 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.2755, allocations: 146.9 kB / 0.9092 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00367/0.2792, allocations: 0.6211 MB / 0.9098 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.2807, allocations: 254.2 kB / 0.9101 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.2836, allocations: 1.206 MB / 0.9112 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.2851, allocations: 0.5121 MB / 0.9117 GB, free: 52.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.2864, allocations: 386.5 kB / 0.9121 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.288, allocations: 462.2 kB / 0.9126 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.2882, allocations: 32 kB / 0.9126 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008158/0.2891, allocations: 143.8 kB / 0.9127 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.2894, allocations: 203.3 kB / 0.9129 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003016/0.2897, allocations: 165.3 kB / 0.9131 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.2913, allocations: 0.8145 MB / 0.9139 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2913, allocations: 0 / 0.9139 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.146e-06/0.2913, allocations: 0 / 0.9139 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.026e-05/0.2914, allocations: 0 / 0.9139 GB, free: 50.73 MB / 0.6042 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.003244/0.2946, allocations: 0.9854 MB / 0.9148 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.2947, allocations: 8.031 kB / 0.9148 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007816/0.3025, allocations: 0.6475 MB / 0.9155 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.3044, allocations: 0.5195 MB / 0.916 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.3045, allocations: 41.69 kB / 0.916 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/0.3047, allocations: 56.11 kB / 0.9161 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004448/0.3092, allocations: 1.018 MB / 0.9171 GB, free: 47.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.996e-05/0.3093, allocations: 4 kB / 0.9171 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001536/0.3095, allocations: 20 kB / 0.9171 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.3096, allocations: 49.28 kB / 0.9171 GB, free: 47.24 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005823/0.3155, allocations: 1.016 MB / 0.9181 GB, free: 46.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00846/0.324, allocations: 3.513 MB / 0.9216 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/0.3275, allocations: 0.5216 MB / 0.9221 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3289, allocations: 244.6 kB / 0.9223 GB, free: 41.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.158e-05/0.329, allocations: 8 kB / 0.9223 GB, free: 41.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.3291, allocations: 34.56 kB / 0.9223 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 4.679e-06/0.3291, allocations: 0 / 0.9223 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.01682/0.3459, allocations: 2.225 MB / 0.9245 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.346, allocations: 55.41 kB / 0.9246 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.3472, allocations: 0.5627 MB / 0.9251 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.3474, allocations: 29.7 kB / 0.9251 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.3478, allocations: 360.1 kB / 0.9255 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.348, allocations: 149.8 kB / 0.9256 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.742e-05/0.3481, allocations: 15.94 kB / 0.9257 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3483, allocations: 374.8 kB / 0.926 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.3499, allocations: 272.9 kB / 0.9263 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.3517, allocations: 377.8 kB / 0.9266 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.3535, allocations: 321.3 kB / 0.9269 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.3536, allocations: 0 / 0.9269 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.006332/0.3599, allocations: 0.9707 MB / 0.9279 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002793/0.3603, allocations: 188.6 kB / 0.9281 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-05/0.3604, allocations: 4 kB / 0.9281 GB, free: 35.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003304/0.3637, allocations: 268.8 kB / 0.9283 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.3654, allocations: 131.8 kB / 0.9284 GB, free: 35.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/0.3823, allocations: 8.483 MB / 0.9367 GB, free: 25.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/0.3846, allocations: 60 kB / 0.9368 GB, free: 25.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003286/0.385, allocations: 16 kB / 0.9368 GB, free: 25.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.3851, allocations: 4 kB / 0.9368 GB, free: 25.76 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007082/0.3922, allocations: 1.077 MB / 0.9379 GB, free: 24.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3923, allocations: 4.344 kB / 0.9379 GB, free: 24.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.3936, allocations: 217 kB / 0.9381 GB, free: 24.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.3954, allocations: 139.8 kB / 0.9382 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/0.4089, allocations: 8.152 MB / 0.9462 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.411, allocations: 56.02 kB / 0.9462 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.4113, allocations: 23.98 kB / 0.9462 GB, free: 15.2 MB / 0.6042 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.0009229/0.4122, allocations: 309.8 kB / 0.9465 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/0.4126, allocations: 75.09 kB / 0.9466 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.4129, allocations: 78.38 kB / 0.9467 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.889e-05/0.413, allocations: 7.984 kB / 0.9467 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.413, allocations: 0 / 0.9467 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/0.4136, allocations: 180.3 kB / 0.9469 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.4139, allocations: 4 kB / 0.9469 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.4156, allocations: 55.95 kB / 0.9469 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002279/0.4159, allocations: 43.92 kB / 0.947 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007926/0.4238, allocations: 1.001 MB / 0.9479 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00372/0.4276, allocations: 1.109 MB / 0.949 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001135/0.4287, allocations: 292.4 kB / 0.9493 GB, free: 12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006268/0.4294, allocations: 403.1 kB / 0.9497 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of Backend: time 1.032e-06/0.4294, allocations: 3.938 kB / 0.9497 GB, free: 11.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005383/0.4348, allocations: 2.293 MB / 0.9519 GB, free: 9.152 MB / 0.6042 GB Notification: Performance of SimCode: time 0.003466/0.4383, allocations: 2.096 MB / 0.954 GB, free: 7.012 MB / 0.6042 GB Notification: Performance of Templates: time 0.03847/0.4768, allocations: 15.05 MB / 0.9687 GB, free: 8.078 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)