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.001464/0.001464, allocations: 100.7 kB / 16.29 MB, free: 5.93 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.001713/0.001713, allocations: 181 kB / 17.22 MB, free: 5.562 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.592/1.592, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.928/1.928, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001502/0.001502, allocations: 75.03 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2541, allocations: 114.6 MB / 0.7841 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.4625/0.7167, allocations: 6.23 MB / 0.7902 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005939/0.7227, allocations: 4.555 MB / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005691/0.7233, allocations: 25.56 kB / 0.7946 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.7255, allocations: 0.9168 MB / 0.7955 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.7275, allocations: 0.7671 MB / 0.7963 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.7282, allocations: 327.5 kB / 0.7966 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.7297, allocations: 1.129 MB / 0.7977 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009496/0.7307, allocations: 0.6908 MB / 0.7984 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007814/0.7315, allocations: 471.4 kB / 0.7988 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009266/0.7324, allocations: 0.4884 MB / 0.7993 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.7326, allocations: 73.41 kB / 0.7994 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006784/0.7333, allocations: 278.6 kB / 0.7996 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.7336, allocations: 254.8 kB / 0.7999 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005809/0.7342, allocations: 407.5 kB / 0.8003 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.7355, allocations: 1.075 MB / 0.8013 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7356, allocations: 4 kB / 0.8013 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7356, allocations: 2.094 kB / 0.8013 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.7356, allocations: 0 / 0.8013 GB, free: 42.04 MB / 0.6544 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.001851/0.7375, allocations: 1.097 MB / 0.8024 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.7375, allocations: 8.562 kB / 0.8024 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.7405, allocations: 0.6284 MB / 0.803 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.7413, allocations: 0.5419 MB / 0.8035 GB, free: 40.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.7414, allocations: 37.47 kB / 0.8036 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.733e-05/0.7415, allocations: 55.72 kB / 0.8036 GB, free: 40.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.7435, allocations: 1.021 MB / 0.8046 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.7435, allocations: 0 / 0.8046 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.928e-05/0.7436, allocations: 22.62 kB / 0.8046 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-05/0.7437, allocations: 46.45 kB / 0.8047 GB, free: 40.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.746, allocations: 1.009 MB / 0.8057 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003969/0.75, allocations: 3.487 MB / 0.8091 GB, free: 37.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.7515, allocations: 495.4 kB / 0.8096 GB, free: 37.11 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005449/0.752, allocations: 225.7 kB / 0.8098 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.7521, allocations: 5.344 kB / 0.8098 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.7521, allocations: 41.77 kB / 0.8098 GB, free: 36.99 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.7521, allocations: 0 / 0.8098 GB, free: 36.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43): time 0.006834/0.759, allocations: 2.017 MB / 0.8118 GB, free: 36.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.759, allocations: 55.53 kB / 0.8118 GB, free: 36.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/0.7598, allocations: 0.569 MB / 0.8124 GB, free: 35.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.7599, allocations: 36.02 kB / 0.8124 GB, free: 35.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.7601, allocations: 359.4 kB / 0.8128 GB, free: 35.62 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.7602, allocations: 148.5 kB / 0.8129 GB, free: 35.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.7603, allocations: 91.94 kB / 0.813 GB, free: 35.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.7605, allocations: 374.2 kB / 0.8134 GB, free: 35.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.7611, allocations: 261.8 kB / 0.8136 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.7618, allocations: 357.9 kB / 0.8139 GB, free: 34.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.7631, allocations: 0.6246 MB / 0.8146 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.7631, allocations: 1.312 kB / 0.8146 GB, free: 34.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0027/0.7658, allocations: 0.9314 MB / 0.8155 GB, free: 34.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.7659, allocations: 6.172 kB / 0.8155 GB, free: 34.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.7659, allocations: 3.312 kB / 0.8155 GB, free: 34.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.7672, allocations: 277.4 kB / 0.8157 GB, free: 34.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/0.7679, allocations: 115 kB / 0.8159 GB, free: 34.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006162/0.7741, allocations: 9.115 MB / 0.8248 GB, free: 25.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.7749, allocations: 41.61 kB / 0.8248 GB, free: 25.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.995e-05/0.775, allocations: 24.14 kB / 0.8248 GB, free: 25.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000924/0.7759, allocations: 437.7 kB / 0.8252 GB, free: 25.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006469/0.7766, allocations: 355.6 kB / 0.8256 GB, free: 24.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001274/0.7779, allocations: 0.6121 MB / 0.8262 GB, free: 24.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.539e-06/0.7779, allocations: 7.391 kB / 0.8262 GB, free: 24.59 MB / 0.6544 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002544/0.7804, allocations: 1.119 MB / 0.8273 GB, free: 23.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7805, allocations: 6.312 kB / 0.8273 GB, free: 23.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.7805, allocations: 10.66 kB / 0.8273 GB, free: 23.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008068/0.7813, allocations: 221.7 kB / 0.8275 GB, free: 23.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.7819, allocations: 118.8 kB / 0.8276 GB, free: 23.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004787/0.7867, allocations: 8.801 MB / 0.8362 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007315/0.7875, allocations: 44.95 kB / 0.8362 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.59e-05/0.7875, allocations: 19.62 kB / 0.8363 GB, free: 15.2 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.0002252/0.7877, allocations: 209.7 kB / 0.8365 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.7879, allocations: 68.19 kB / 0.8365 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.7881, allocations: 80.17 kB / 0.8366 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.7881, allocations: 5.312 kB / 0.8366 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/0.7881, allocations: 1.594 kB / 0.8366 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.7881, allocations: 1.828 kB / 0.8366 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.7892, allocations: 0.645 MB / 0.8372 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7892, allocations: 1.578 kB / 0.8372 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.7897, allocations: 90.2 kB / 0.8373 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009793/0.7907, allocations: 264.9 kB / 0.8376 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.7907, allocations: 7.641 kB / 0.8376 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005354/0.7961, allocations: 9.051 MB / 0.8464 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7961, allocations: 3.938 kB / 0.8464 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.7983, allocations: 0.9198 MB / 0.8473 GB, free: 5.262 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/0.7985, allocations: 184.9 kB / 0.8475 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.105e-05/0.7986, allocations: 10.38 kB / 0.8475 GB, free: 5.102 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004589/0.7991, allocations: 35.17 kB / 0.8476 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.7993, allocations: 42.47 kB / 0.8476 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.7993, allocations: 14.06 kB / 0.8476 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005428/0.7999, allocations: 410.4 kB / 0.848 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7999, allocations: 0 / 0.848 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00118/0.8011, allocations: 297.6 kB / 0.8483 GB, free: 4.871 MB / 0.6544 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.0001308/0.8012, allocations: 107.1 kB / 0.8484 GB, free: 4.777 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003443/0.8046, allocations: 2.355 MB / 0.8507 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8047, allocations: 1.25 kB / 0.8507 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.8058, allocations: 1.008 MB / 0.8517 GB, free: 2.316 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/0.8068, allocations: 234.4 kB / 0.8519 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.809, allocations: 1.29 MB / 0.8532 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.8096, allocations: 0.9814 MB / 0.8541 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005468/0.8101, allocations: 153.4 kB / 0.8543 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.8103, allocations: 43.52 kB / 0.8543 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of SimCode: time 1.222e-06/0.8103, allocations: 0 / 0.8543 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of Templates: time 0.02555/0.8358, allocations: 13.45 MB / 0.8674 GB, free: 12.08 MB / 0.67 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)