Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.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.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0067/0.0067, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001338/0.001338, allocations: 187.3 kB / 16.67 MB, free: 5.465 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.64/1.64, allocations: 205.1 MB / 222.6 MB, free: 4.359 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.685/1.685, allocations: 251.7 MB / 0.5094 GB, free: 2.961 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.00147/0.00147, allocations: 71.91 kB / 0.7258 GB, free: 9.125 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2813, allocations: 104.7 MB / 0.828 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.0109/0.2922, allocations: 6.248 MB / 0.8341 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008138/0.3004, allocations: 4.562 MB / 0.8386 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007672/0.3012, allocations: 23.88 kB / 0.8386 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.3039, allocations: 0.9135 MB / 0.8395 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.3067, allocations: 0.7786 MB / 0.8403 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009667/0.3077, allocations: 314.2 kB / 0.8406 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001777/0.3095, allocations: 1.136 MB / 0.8417 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009885/0.3105, allocations: 0.6849 MB / 0.8423 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006782/0.3111, allocations: 474.4 kB / 0.8428 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007178/0.3119, allocations: 0.4941 MB / 0.8433 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.312, allocations: 68 kB / 0.8433 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008464/0.3128, allocations: 279.5 kB / 0.8436 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.3132, allocations: 247.3 kB / 0.8438 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005392/0.3137, allocations: 410.1 kB / 0.8442 GB, free: 15.65 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.3154, allocations: 1.082 MB / 0.8453 GB, free: 14.57 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3154, allocations: 0 / 0.8453 GB, free: 14.57 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3154, allocations: 0 / 0.8453 GB, free: 14.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.3154, allocations: 0 / 0.8453 GB, free: 14.57 MB / 0.67 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.002328/0.3177, allocations: 1.125 MB / 0.8464 GB, free: 13.39 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3178, allocations: 8.031 kB / 0.8464 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003368/0.3212, allocations: 0.6324 MB / 0.847 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009413/0.3221, allocations: 0.5858 MB / 0.8476 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.3222, allocations: 33.69 kB / 0.8476 GB, free: 12.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/0.3223, allocations: 52.12 kB / 0.8477 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.3245, allocations: 1.025 MB / 0.8487 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3245, allocations: 0 / 0.8487 GB, free: 10.96 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.451e-05/0.3246, allocations: 20 kB / 0.8487 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.046e-05/0.3246, allocations: 53.22 kB / 0.8487 GB, free: 10.89 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002369/0.327, allocations: 1.004 MB / 0.8497 GB, free: 9.891 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.332, allocations: 3.498 MB / 0.8531 GB, free: 6.086 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.3335, allocations: 490.3 kB / 0.8536 GB, free: 5.598 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/0.3341, allocations: 228.7 kB / 0.8538 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.3341, allocations: 4 kB / 0.8538 GB, free: 5.367 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3342, allocations: 34.56 kB / 0.8539 GB, free: 5.324 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.794e-06/0.3342, allocations: 0 / 0.8539 GB, free: 5.324 MB / 0.67 GB Notification: Performance of matching and sorting (n=43): time 0.006842/0.341, allocations: 2.029 MB / 0.8558 GB, free: 3.25 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3411, allocations: 55.41 kB / 0.8559 GB, free: 3.184 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008194/0.3419, allocations: 0.5743 MB / 0.8564 GB, free: 2.598 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.523e-05/0.342, allocations: 33.7 kB / 0.8565 GB, free: 2.559 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.3423, allocations: 352.9 kB / 0.8568 GB, free: 2.207 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.3424, allocations: 162.6 kB / 0.857 GB, free: 2.047 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.3426, allocations: 94.2 kB / 0.8571 GB, free: 1.949 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3428, allocations: 378.7 kB / 0.8574 GB, free: 1.57 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.3435, allocations: 254.9 kB / 0.8577 GB, free: 1.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007292/0.3442, allocations: 369.7 kB / 0.858 GB, free: 0.9141 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.3457, allocations: 0.6187 MB / 0.8586 GB, free: 260 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3457, allocations: 4 kB / 0.8586 GB, free: 256 kB / 0.67 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002526/0.3482, allocations: 0.9353 MB / 0.8595 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.3483, allocations: 8.344 kB / 0.8595 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3483, allocations: 8 kB / 0.8596 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.3494, allocations: 268.9 kB / 0.8598 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.35, allocations: 119.8 kB / 0.8599 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.3604, allocations: 9.104 MB / 0.8688 GB, free: 4.934 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/0.3612, allocations: 47.89 kB / 0.8689 GB, free: 4.887 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.369e-05/0.3613, allocations: 19.98 kB / 0.8689 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001188/0.3625, allocations: 437 kB / 0.8693 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007523/0.3633, allocations: 357.4 kB / 0.8696 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001509/0.3648, allocations: 0.6092 MB / 0.8702 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.051e-06/0.3649, allocations: 4 kB / 0.8702 GB, free: 3.391 MB / 0.6856 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002741/0.3676, allocations: 1.125 MB / 0.8713 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3676, allocations: 11.94 kB / 0.8713 GB, free: 2.172 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3677, allocations: 4 kB / 0.8714 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008404/0.3685, allocations: 221.4 kB / 0.8716 GB, free: 1.934 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.3691, allocations: 123.8 kB / 0.8717 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007835/0.377, allocations: 8.796 MB / 0.8803 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.3777, allocations: 43.98 kB / 0.8803 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.3777, allocations: 19.98 kB / 0.8803 GB, free: 8.121 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002632/0.378, allocations: 213.8 kB / 0.8805 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.3782, allocations: 71.58 kB / 0.8806 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.3784, allocations: 78.52 kB / 0.8807 GB, free: 7.758 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3784, allocations: 7.984 kB / 0.8807 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/0.3785, allocations: 4 kB / 0.8807 GB, free: 7.746 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3785, allocations: 3.984 kB / 0.8807 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.3796, allocations: 0.6454 MB / 0.8813 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3796, allocations: 3.938 kB / 0.8813 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004907/0.3801, allocations: 91.84 kB / 0.8814 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009892/0.3811, allocations: 256.9 kB / 0.8817 GB, free: 6.684 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.3811, allocations: 11.98 kB / 0.8817 GB, free: 6.672 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/0.3887, allocations: 9.066 MB / 0.8905 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3888, allocations: 0 / 0.8905 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.3912, allocations: 0.9212 MB / 0.8914 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.3916, allocations: 184.6 kB / 0.8916 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3917, allocations: 8 kB / 0.8916 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.3923, allocations: 39.94 kB / 0.8916 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.3925, allocations: 35.95 kB / 0.8917 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.3925, allocations: 15.94 kB / 0.8917 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006026/0.3931, allocations: 407.1 kB / 0.8921 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3931, allocations: 0 / 0.8921 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001462/0.3946, allocations: 308 kB / 0.8924 GB, free: 10.82 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: 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002273/0.3948, allocations: 103.2 kB / 0.8925 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004454/0.3993, allocations: 2.361 MB / 0.8948 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.3993, allocations: 0 / 0.8948 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.4008, allocations: 1.004 MB / 0.8958 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.402, allocations: 237.9 kB / 0.896 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.405, allocations: 1.314 MB / 0.8973 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.4057, allocations: 0.9897 MB / 0.8982 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0006132/0.4064, allocations: 149.4 kB / 0.8984 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.4065, allocations: 43.42 kB / 0.8984 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/0.4065, allocations: 0 / 0.8984 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of Templates: time 0.02623/0.4328, allocations: 13.62 MB / 0.9117 GB, free: 6.867 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)