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.001466/0.001466, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.776/1.776, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.001588/0.001589, allocations: 71.97 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2267, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009947/0.2367, allocations: 6.241 MB / 0.7902 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006913/0.2437, allocations: 4.57 MB / 0.7947 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005718/0.2443, allocations: 23.88 kB / 0.7947 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.2468, allocations: 0.9096 MB / 0.7956 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.2487, allocations: 0.7796 MB / 0.7963 GB, free: 188 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007504/0.2495, allocations: 326.2 kB / 0.7967 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.2509, allocations: 1.133 MB / 0.7978 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009631/0.2519, allocations: 0.6888 MB / 0.7984 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007097/0.2526, allocations: 470.3 kB / 0.7989 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008484/0.2535, allocations: 498.1 kB / 0.7994 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.2537, allocations: 68 kB / 0.7994 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.2543, allocations: 279.5 kB / 0.7997 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/0.2545, allocations: 251.3 kB / 0.7999 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.255, allocations: 417.9 kB / 0.8003 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.2562, allocations: 1.075 MB / 0.8014 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2562, allocations: 0 / 0.8014 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2562, allocations: 0 / 0.8014 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.866e-05/0.2563, allocations: 0 / 0.8014 GB, free: 11.02 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.00177/0.258, allocations: 1.087 MB / 0.8024 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2581, allocations: 8.031 kB / 0.8024 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002988/0.2611, allocations: 0.632 MB / 0.8031 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.262, allocations: 0.5774 MB / 0.8036 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.262, allocations: 41.69 kB / 0.8037 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.2621, allocations: 52.11 kB / 0.8037 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.264, allocations: 1.018 MB / 0.8047 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.264, allocations: 8 kB / 0.8047 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.2641, allocations: 20 kB / 0.8047 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.39e-05/0.2642, allocations: 53.22 kB / 0.8048 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002261/0.2665, allocations: 1.004 MB / 0.8058 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004615/0.2711, allocations: 3.478 MB / 0.8092 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.2725, allocations: 491.3 kB / 0.8096 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.273, allocations: 232.6 kB / 0.8099 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.2731, allocations: 12 kB / 0.8099 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.2731, allocations: 34.5 kB / 0.8099 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/0.2731, allocations: 0 / 0.8099 GB, free: 1.824 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.006483/0.2796, allocations: 2.022 MB / 0.8119 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2797, allocations: 63.41 kB / 0.8119 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.2804, allocations: 0.5666 MB / 0.8125 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.2805, allocations: 29.7 kB / 0.8125 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.2807, allocations: 356.2 kB / 0.8129 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.2809, allocations: 149.8 kB / 0.813 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.281, allocations: 90.16 kB / 0.8131 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2812, allocations: 378.7 kB / 0.8134 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007268/0.2819, allocations: 258.9 kB / 0.8137 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007643/0.2827, allocations: 365.8 kB / 0.814 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.2842, allocations: 0.6264 MB / 0.8147 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2842, allocations: 0 / 0.8147 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002372/0.2866, allocations: 0.935 MB / 0.8156 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.2866, allocations: 4 kB / 0.8156 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.2866, allocations: 4 kB / 0.8156 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.2878, allocations: 273.2 kB / 0.8158 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.2884, allocations: 115.8 kB / 0.8159 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0078/0.2962, allocations: 9.11 MB / 0.8248 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006394/0.2969, allocations: 44.02 kB / 0.8249 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.2969, allocations: 20.14 kB / 0.8249 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009052/0.2979, allocations: 441 kB / 0.8253 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007033/0.2986, allocations: 357.4 kB / 0.8257 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00134/0.2999, allocations: 0.6051 MB / 0.8263 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/0.2999, allocations: 4 kB / 0.8263 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002419/0.3024, allocations: 1.121 MB / 0.8274 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3024, allocations: 11.94 kB / 0.8274 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3024, allocations: 4 kB / 0.8274 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007612/0.3032, allocations: 217 kB / 0.8276 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005827/0.3038, allocations: 127.8 kB / 0.8277 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006254/0.31, allocations: 8.797 MB / 0.8363 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/0.3107, allocations: 39.95 kB / 0.8363 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/0.3107, allocations: 20.06 kB / 0.8363 GB, free: 4.656 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.0001968/0.3109, allocations: 221.7 kB / 0.8366 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3111, allocations: 67.25 kB / 0.8366 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.3112, allocations: 74.38 kB / 0.8367 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3112, allocations: 4 kB / 0.8367 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.3112, allocations: 0 / 0.8367 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.3113, allocations: 7.984 kB / 0.8367 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000853/0.3121, allocations: 0.6532 MB / 0.8373 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3121, allocations: 3.938 kB / 0.8373 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/0.3126, allocations: 83.91 kB / 0.8374 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009048/0.3135, allocations: 264.8 kB / 0.8377 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.3136, allocations: 4 kB / 0.8377 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006702/0.3203, allocations: 9.062 MB / 0.8465 GB, free: 9.305 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3203, allocations: 0 / 0.8465 GB, free: 9.305 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.3225, allocations: 0.917 MB / 0.8474 GB, free: 8.352 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002994/0.3228, allocations: 184.2 kB / 0.8476 GB, free: 8.152 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/0.3229, allocations: 8 kB / 0.8476 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.3234, allocations: 39.95 kB / 0.8476 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.3236, allocations: 47.81 kB / 0.8477 GB, free: 8.059 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.3236, allocations: 12 kB / 0.8477 GB, free: 8.047 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004869/0.3241, allocations: 403.1 kB / 0.8481 GB, free: 7.656 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3241, allocations: 0 / 0.8481 GB, free: 7.656 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001068/0.3252, allocations: 300 kB / 0.8484 GB, free: 7.363 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.0001589/0.3253, allocations: 115.2 kB / 0.8485 GB, free: 7.242 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.3291, allocations: 2.34 MB / 0.8508 GB, free: 4.746 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3291, allocations: 3.938 kB / 0.8508 GB, free: 4.742 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.3305, allocations: 1.012 MB / 0.8518 GB, free: 3.652 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.3315, allocations: 228.2 kB / 0.852 GB, free: 3.441 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.3341, allocations: 1.298 MB / 0.8532 GB, free: 2.113 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.3347, allocations: 0.9743 MB / 0.8542 GB, free: 1.113 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005204/0.3352, allocations: 153.3 kB / 0.8543 GB, free: 0.9609 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.3354, allocations: 43.44 kB / 0.8544 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.3354, allocations: 0 / 0.8544 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of Templates: time 0.02451/0.3599, allocations: 13.47 MB / 0.8675 GB, free: 3.598 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)