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.001013/0.001013, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001039/0.001039, allocations: 195.5 kB / 16.14 MB, free: 6.664 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.538/1.538, allocations: 205.1 MB / 222 MB, free: 4.992 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.759/1.759, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001358/0.001358, allocations: 62.97 kB / 0.6708 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2219, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007241/0.2292, allocations: 6.232 MB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006028/0.2353, allocations: 4.555 MB / 0.7932 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005236/0.2358, allocations: 23.81 kB / 0.7932 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.238, allocations: 0.8554 MB / 0.7941 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.2399, allocations: 0.7222 MB / 0.7948 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007206/0.2407, allocations: 286.8 kB / 0.795 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001614/0.2423, allocations: 1.441 MB / 0.7965 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006537/0.243, allocations: 481.8 kB / 0.7969 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005746/0.2435, allocations: 422.3 kB / 0.7973 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006342/0.2442, allocations: 0.4942 MB / 0.7978 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.392e-05/0.2443, allocations: 44 kB / 0.7978 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005438/0.2448, allocations: 319.4 kB / 0.7981 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.245, allocations: 215.3 kB / 0.7984 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003774/0.2454, allocations: 390 kB / 0.7987 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0008815/0.2463, allocations: 1.059 MB / 0.7998 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2463, allocations: 4 kB / 0.7998 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2463, allocations: 0 / 0.7998 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.2464, allocations: 0 / 0.7998 GB, free: 12.43 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.001834/0.2482, allocations: 1.094 MB / 0.8008 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2482, allocations: 8.031 kB / 0.8008 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/0.2513, allocations: 0.632 MB / 0.8015 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.2522, allocations: 0.5424 MB / 0.802 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.2522, allocations: 41.69 kB / 0.802 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.232e-05/0.2523, allocations: 52.12 kB / 0.8021 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.2544, allocations: 1.025 MB / 0.8031 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.2544, allocations: 0 / 0.8031 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.2545, allocations: 24 kB / 0.8031 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.516e-05/0.2546, allocations: 49.28 kB / 0.8031 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.2569, allocations: 1 MB / 0.8041 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004193/0.2611, allocations: 3.494 MB / 0.8075 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.2625, allocations: 0.4969 MB / 0.808 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/0.263, allocations: 228.7 kB / 0.8082 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.2631, allocations: 4 kB / 0.8082 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2631, allocations: 38.56 kB / 0.8083 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/0.2631, allocations: 0 / 0.8083 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.006937/0.2701, allocations: 2.022 MB / 0.8103 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.2701, allocations: 55.41 kB / 0.8103 GB, free: 1.109 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/0.2708, allocations: 0.5627 MB / 0.8109 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.2709, allocations: 37.69 kB / 0.8109 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.2711, allocations: 356.1 kB / 0.8112 GB, free: 148 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.2713, allocations: 145.9 kB / 0.8114 GB, free: 0 / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.2715, allocations: 98.2 kB / 0.8115 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.2717, allocations: 382.6 kB / 0.8118 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006621/0.2723, allocations: 258.9 kB / 0.8121 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006921/0.273, allocations: 361.8 kB / 0.8124 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/0.2743, allocations: 0.6186 MB / 0.813 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2744, allocations: 4 kB / 0.813 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002359/0.2767, allocations: 0.9348 MB / 0.8139 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.2768, allocations: 8 kB / 0.8139 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.2768, allocations: 4.344 kB / 0.814 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.2779, allocations: 272.8 kB / 0.8142 GB, free: 12.94 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005935/0.2785, allocations: 119.8 kB / 0.8143 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006791/0.2853, allocations: 8.433 MB / 0.8226 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.286, allocations: 47.94 kB / 0.8226 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.286, allocations: 20 kB / 0.8226 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008583/0.2869, allocations: 437.1 kB / 0.823 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006796/0.2876, allocations: 353.4 kB / 0.8234 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001263/0.2888, allocations: 0.609 MB / 0.824 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.2889, allocations: 4 kB / 0.824 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00239/0.2913, allocations: 1.128 MB / 0.8251 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.2913, allocations: 8 kB / 0.8251 GB, free: 0.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2913, allocations: 7.828 kB / 0.8251 GB, free: 0.8281 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008221/0.2921, allocations: 221.3 kB / 0.8253 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.2927, allocations: 123.8 kB / 0.8254 GB, free: 484 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005842/0.2986, allocations: 8.158 MB / 0.8334 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00064/0.2993, allocations: 40.02 kB / 0.8334 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.2993, allocations: 24 kB / 0.8335 GB, free: 7.453 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.0002201/0.2996, allocations: 212.1 kB / 0.8337 GB, free: 7.238 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.2997, allocations: 67.16 kB / 0.8337 GB, free: 7.172 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.2998, allocations: 74.38 kB / 0.8338 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2999, allocations: 4 kB / 0.8338 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.2999, allocations: 8 kB / 0.8338 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2999, allocations: 0 / 0.8338 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.3006, allocations: 0.6455 MB / 0.8344 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3007, allocations: 0 / 0.8344 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004935/0.3012, allocations: 87.84 kB / 0.8345 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009687/0.3021, allocations: 269 kB / 0.8348 GB, free: 6.023 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.3022, allocations: 12 kB / 0.8348 GB, free: 6.012 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006314/0.3085, allocations: 8.393 MB / 0.843 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3085, allocations: 0 / 0.843 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002268/0.3108, allocations: 0.9208 MB / 0.8439 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002882/0.3111, allocations: 188.2 kB / 0.8441 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.3112, allocations: 4 kB / 0.8441 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.3117, allocations: 35.95 kB / 0.8441 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.3119, allocations: 43.94 kB / 0.8441 GB, free: 11.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/0.3119, allocations: 12 kB / 0.8442 GB, free: 11.56 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005079/0.3124, allocations: 403.1 kB / 0.8445 GB, free: 11.18 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.684e-06/0.3124, allocations: 0 / 0.8445 GB, free: 11.18 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001069/0.3135, allocations: 303.9 kB / 0.8448 GB, free: 10.88 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.0001504/0.3137, allocations: 111.2 kB / 0.8449 GB, free: 10.76 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00364/0.3173, allocations: 2.336 MB / 0.8472 GB, free: 8.27 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3173, allocations: 0 / 0.8472 GB, free: 8.27 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.3187, allocations: 1.015 MB / 0.8482 GB, free: 7.176 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.3198, allocations: 209.6 kB / 0.8484 GB, free: 6.973 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.3225, allocations: 1.558 MB / 0.8499 GB, free: 5.391 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.3231, allocations: 0.9821 MB / 0.8509 GB, free: 4.383 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005815/0.3236, allocations: 165.3 kB / 0.851 GB, free: 4.219 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3238, allocations: 43.44 kB / 0.8511 GB, free: 4.18 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.3238, allocations: 0 / 0.8511 GB, free: 4.18 MB / 0.67 GB Notification: Performance of Templates: time 0.02052/0.3443, allocations: 12.82 MB / 0.8636 GB, free: 7.5 MB / 0.6856 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)