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.008714/0.008714, allocations: 101.9 kB / 15.73 MB, free: 6 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.001565/0.001565, allocations: 196.1 kB / 16.67 MB, free: 5.926 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.599/1.599, allocations: 205.1 MB / 222.6 MB, free: 4.285 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.532/1.532, allocations: 251.7 MB / 0.5094 GB, free: 3.133 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.001517/0.001517, allocations: 65.78 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2602, allocations: 104.7 MB / 0.828 GB, free: 344 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.00846/0.2687, allocations: 6.249 MB / 0.8341 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00688/0.2757, allocations: 4.566 MB / 0.8386 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.2763, allocations: 23.88 kB / 0.8386 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.279, allocations: 0.9142 MB / 0.8395 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.2811, allocations: 0.7731 MB / 0.8403 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008146/0.282, allocations: 323.9 kB / 0.8406 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00126/0.2832, allocations: 1.129 MB / 0.8417 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000839/0.2841, allocations: 0.6888 MB / 0.8423 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.2847, allocations: 478.4 kB / 0.8428 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007241/0.2854, allocations: 0.4903 MB / 0.8433 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.947e-05/0.2856, allocations: 72 kB / 0.8433 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.286, allocations: 279.4 kB / 0.8436 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.2863, allocations: 251.3 kB / 0.8439 GB, free: 68 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003767/0.2867, allocations: 414.1 kB / 0.8442 GB, free: 15.66 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.2877, allocations: 1.071 MB / 0.8453 GB, free: 14.59 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2878, allocations: 0 / 0.8453 GB, free: 14.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2878, allocations: 0 / 0.8453 GB, free: 14.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.2878, allocations: 7.938 kB / 0.8453 GB, free: 14.58 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.001916/0.2897, allocations: 1.087 MB / 0.8464 GB, free: 13.44 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2898, allocations: 12.03 kB / 0.8464 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003181/0.2929, allocations: 0.628 MB / 0.847 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009759/0.2939, allocations: 0.5814 MB / 0.8476 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.294, allocations: 37.69 kB / 0.8476 GB, free: 12.14 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.566e-05/0.2941, allocations: 60.11 kB / 0.8476 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.2961, allocations: 1.014 MB / 0.8486 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.2961, allocations: 4 kB / 0.8486 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.758e-05/0.2962, allocations: 31.92 kB / 0.8487 GB, free: 10.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.2963, allocations: 41.3 kB / 0.8487 GB, free: 10.95 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.2987, allocations: 1.008 MB / 0.8497 GB, free: 9.938 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005053/0.3038, allocations: 3.482 MB / 0.8531 GB, free: 6.148 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.3053, allocations: 494.4 kB / 0.8536 GB, free: 5.656 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005736/0.3059, allocations: 224.6 kB / 0.8538 GB, free: 5.434 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.306, allocations: 12 kB / 0.8538 GB, free: 5.422 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001088/0.3061, allocations: 38.55 kB / 0.8538 GB, free: 5.375 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 3.376e-06/0.3061, allocations: 0 / 0.8538 GB, free: 5.375 MB / 0.67 GB Notification: Performance of matching and sorting (n=43): time 0.007108/0.3132, allocations: 2.012 MB / 0.8558 GB, free: 3.316 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.3133, allocations: 63.41 kB / 0.8559 GB, free: 3.242 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/0.3142, allocations: 0.5704 MB / 0.8564 GB, free: 2.66 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3142, allocations: 29.7 kB / 0.8564 GB, free: 2.625 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003877/0.3146, allocations: 360.2 kB / 0.8568 GB, free: 2.266 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.3148, allocations: 145.8 kB / 0.8569 GB, free: 2.121 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001761/0.315, allocations: 90.16 kB / 0.857 GB, free: 2.027 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002207/0.3152, allocations: 374.7 kB / 0.8574 GB, free: 1.652 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.3159, allocations: 262.9 kB / 0.8576 GB, free: 1.395 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007742/0.3167, allocations: 362.6 kB / 0.858 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/0.3182, allocations: 0.6265 MB / 0.8586 GB, free: 336 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3182, allocations: 4 kB / 0.8586 GB, free: 332 kB / 0.67 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002497/0.3207, allocations: 0.9273 MB / 0.8595 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.3207, allocations: 8 kB / 0.8595 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.3208, allocations: 4 kB / 0.8595 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.322, allocations: 277.2 kB / 0.8598 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007363/0.3228, allocations: 111.7 kB / 0.8599 GB, free: 14.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009136/0.3319, allocations: 9.114 MB / 0.8688 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.3327, allocations: 44.02 kB / 0.8688 GB, free: 4.973 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.3328, allocations: 23.98 kB / 0.8688 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001044/0.3338, allocations: 437 kB / 0.8692 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007322/0.3346, allocations: 357.4 kB / 0.8696 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001494/0.3361, allocations: 0.6053 MB / 0.8702 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.715e-06/0.3361, allocations: 4 kB / 0.8702 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002587/0.3387, allocations: 1.121 MB / 0.8713 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.3387, allocations: 11.94 kB / 0.8713 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3387, allocations: 4 kB / 0.8713 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000791/0.3395, allocations: 221 kB / 0.8715 GB, free: 2.023 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006033/0.3401, allocations: 123.8 kB / 0.8716 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007336/0.3475, allocations: 8.788 MB / 0.8802 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007255/0.3482, allocations: 43.94 kB / 0.8802 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.3483, allocations: 20 kB / 0.8803 GB, free: 8.211 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.0002353/0.3485, allocations: 216.1 kB / 0.8805 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3487, allocations: 67.16 kB / 0.8805 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001778/0.3488, allocations: 74.38 kB / 0.8806 GB, free: 7.852 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3489, allocations: 11.98 kB / 0.8806 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.3489, allocations: 0 / 0.8806 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3489, allocations: 4.141 kB / 0.8806 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000882/0.3498, allocations: 0.6532 MB / 0.8813 GB, free: 7.137 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3498, allocations: 3.938 kB / 0.8813 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/0.3503, allocations: 87.91 kB / 0.8813 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009502/0.3512, allocations: 264.8 kB / 0.8816 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.3513, allocations: 8 kB / 0.8816 GB, free: 6.762 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008474/0.3598, allocations: 9.054 MB / 0.8904 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3598, allocations: 0 / 0.8904 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.3621, allocations: 0.9209 MB / 0.8913 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.3624, allocations: 180.3 kB / 0.8915 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/0.3625, allocations: 11.92 kB / 0.8915 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.3629, allocations: 39.95 kB / 0.8916 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.3631, allocations: 39.89 kB / 0.8916 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.31e-05/0.3631, allocations: 15.98 kB / 0.8916 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004673/0.3636, allocations: 403.1 kB / 0.892 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3636, allocations: 0 / 0.892 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001071/0.3647, allocations: 304 kB / 0.8923 GB, free: 10.92 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.0001592/0.3649, allocations: 114.4 kB / 0.8924 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003767/0.3686, allocations: 2.345 MB / 0.8947 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.3687, allocations: 7.938 kB / 0.8947 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.37, allocations: 0.9999 MB / 0.8957 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3711, allocations: 228.3 kB / 0.8959 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.3734, allocations: 1.305 MB / 0.8972 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.374, allocations: 0.9819 MB / 0.8981 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004872/0.3745, allocations: 149.4 kB / 0.8983 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3746, allocations: 51.42 kB / 0.8983 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.3746, allocations: 0 / 0.8983 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of Templates: time 0.02494/0.3996, allocations: 13.9 MB / 0.9119 GB, free: 6.707 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)