Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001597/0.001597, allocations: 103.7 kB / 15.98 MB, free: 6.348 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.001808/0.001808, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.47/1.47, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.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.001409/0.001409, allocations: 66.11 kB / 0.6716 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2567, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007866/0.2646, allocations: 6.244 MB / 0.7896 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006863/0.2716, allocations: 4.523 MB / 0.794 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005958/0.2722, allocations: 23.88 kB / 0.7941 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.2745, allocations: 0.8564 MB / 0.7949 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002244/0.2768, allocations: 0.7143 MB / 0.7956 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.2776, allocations: 295.6 kB / 0.7959 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001454/0.279, allocations: 1.125 MB / 0.797 GB, free: 60 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.2802, allocations: 0.7788 MB / 0.7977 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006863/0.2809, allocations: 478.2 kB / 0.7982 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006518/0.2815, allocations: 0.5098 MB / 0.7987 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.2816, allocations: 68 kB / 0.7987 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005395/0.2822, allocations: 279.5 kB / 0.799 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.2824, allocations: 251.2 kB / 0.7992 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003863/0.2828, allocations: 410 kB / 0.7996 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009105/0.2837, allocations: 0.8418 MB / 0.8005 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2837, allocations: 0 / 0.8005 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2837, allocations: 0 / 0.8005 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.622e-05/0.2838, allocations: 0 / 0.8005 GB, free: 12.46 MB / 0.6231 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.001865/0.2856, allocations: 1.094 MB / 0.8015 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2857, allocations: 11.97 kB / 0.8015 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/0.2888, allocations: 0.6359 MB / 0.8022 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008536/0.2897, allocations: 0.5501 MB / 0.8027 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.2897, allocations: 41.67 kB / 0.8027 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.2898, allocations: 56.11 kB / 0.8028 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.2918, allocations: 1.022 MB / 0.8038 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2919, allocations: 0 / 0.8038 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.105e-05/0.2919, allocations: 27.98 kB / 0.8038 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/0.292, allocations: 45.3 kB / 0.8039 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.2943, allocations: 1.008 MB / 0.8048 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004382/0.2987, allocations: 3.49 MB / 0.8083 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.3001, allocations: 498.3 kB / 0.8087 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005094/0.3006, allocations: 224.7 kB / 0.8089 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.014e-05/0.3007, allocations: 11.97 kB / 0.809 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.3007, allocations: 38.56 kB / 0.809 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.3007, allocations: 3.938 kB / 0.809 GB, free: 3.254 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.006668/0.3074, allocations: 2.014 MB / 0.811 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/0.3075, allocations: 55.41 kB / 0.811 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.3083, allocations: 0.5627 MB / 0.8116 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/0.3084, allocations: 37.7 kB / 0.8116 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.3087, allocations: 356.2 kB / 0.8119 GB, free: 164 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.3088, allocations: 149.8 kB / 0.8121 GB, free: 12 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.309, allocations: 94.16 kB / 0.8122 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.3092, allocations: 374.7 kB / 0.8125 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000673/0.3099, allocations: 254.9 kB / 0.8128 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.3106, allocations: 373.7 kB / 0.8131 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.312, allocations: 0.6147 MB / 0.8137 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.312, allocations: 0 / 0.8137 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002562/0.3146, allocations: 0.9349 MB / 0.8146 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3146, allocations: 11.98 kB / 0.8147 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3146, allocations: 352 / 0.8147 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.3158, allocations: 276.9 kB / 0.8149 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006892/0.3165, allocations: 115.8 kB / 0.815 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007925/0.3244, allocations: 9.111 MB / 0.8239 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007205/0.3252, allocations: 52 kB / 0.824 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.3252, allocations: 16 kB / 0.824 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000925/0.3262, allocations: 437 kB / 0.8244 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007013/0.3269, allocations: 365.4 kB / 0.8248 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001372/0.3283, allocations: 0.609 MB / 0.8254 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/0.3283, allocations: 4 kB / 0.8254 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00278/0.3311, allocations: 1.113 MB / 0.8264 GB, free: 160 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.3311, allocations: 12.28 kB / 0.8265 GB, free: 148 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3311, allocations: 8 kB / 0.8265 GB, free: 140 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008993/0.332, allocations: 224.9 kB / 0.8267 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006548/0.3327, allocations: 119.8 kB / 0.8268 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007626/0.3404, allocations: 8.797 MB / 0.8354 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/0.3412, allocations: 47.89 kB / 0.8354 GB, free: 6.102 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.67e-05/0.3413, allocations: 20.06 kB / 0.8354 GB, free: 6.082 MB / 0.6544 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.0002984/0.3416, allocations: 216 kB / 0.8357 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002022/0.3418, allocations: 67.25 kB / 0.8357 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.342, allocations: 86.3 kB / 0.8358 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3421, allocations: 4 kB / 0.8358 GB, free: 5.707 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.3421, allocations: 4 kB / 0.8358 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3421, allocations: 4 kB / 0.8358 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.3431, allocations: 0.6454 MB / 0.8364 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3431, allocations: 0 / 0.8364 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.3437, allocations: 95.84 kB / 0.8365 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.3448, allocations: 260.9 kB / 0.8368 GB, free: 4.637 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/0.3448, allocations: 4 kB / 0.8368 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008809/0.3536, allocations: 9.066 MB / 0.8456 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3537, allocations: 0 / 0.8456 GB, free: 10.72 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.3562, allocations: 0.9131 MB / 0.8465 GB, free: 9.773 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003828/0.3566, allocations: 188.2 kB / 0.8467 GB, free: 9.57 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.3568, allocations: 8 kB / 0.8467 GB, free: 9.562 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005619/0.3574, allocations: 39.95 kB / 0.8468 GB, free: 9.523 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.3575, allocations: 35.95 kB / 0.8468 GB, free: 9.488 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.3576, allocations: 11.98 kB / 0.8468 GB, free: 9.477 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006084/0.3582, allocations: 403.1 kB / 0.8472 GB, free: 9.086 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3582, allocations: 4 kB / 0.8472 GB, free: 9.082 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001361/0.3596, allocations: 300 kB / 0.8475 GB, free: 8.789 MB / 0.67 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.0001884/0.3598, allocations: 111.9 kB / 0.8476 GB, free: 8.672 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004244/0.364, allocations: 2.403 MB / 0.8499 GB, free: 6.113 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3641, allocations: 0 / 0.8499 GB, free: 6.113 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.3655, allocations: 1.008 MB / 0.8509 GB, free: 5.027 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.367, allocations: 242.3 kB / 0.8511 GB, free: 4.805 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.3702, allocations: 1.619 MB / 0.8527 GB, free: 3.152 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.3709, allocations: 0.9821 MB / 0.8537 GB, free: 2.145 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3712, allocations: 47.42 kB / 0.8537 GB, free: 2.102 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.3712, allocations: 0 / 0.8537 GB, free: 2.102 MB / 0.67 GB Notification: Performance of Templates: time 0.03287/0.4041, allocations: 26.96 MB / 0.8801 GB, free: 7.184 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)