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.001493/0.001493, allocations: 107.4 kB / 15.34 MB, free: 0.5195 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.002184/0.002184, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.556/1.556, allocations: 205.1 MB / 222.1 MB, free: 4.938 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.724/1.724, allocations: 292.2 MB / 0.5485 GB, free: 13.58 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.001434/0.001434, allocations: 67.3 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3405, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.01052/0.351, allocations: 6.254 MB / 0.789 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007532/0.3586, allocations: 4.52 MB / 0.7934 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.3597, allocations: 19.88 kB / 0.7934 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.3627, allocations: 0.863 MB / 0.7942 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.3656, allocations: 0.7061 MB / 0.7949 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009998/0.3667, allocations: 299.5 kB / 0.7952 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.3687, allocations: 1.121 MB / 0.7963 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.3702, allocations: 0.7749 MB / 0.7971 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.3713, allocations: 494.2 kB / 0.7975 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.3725, allocations: 0.502 MB / 0.798 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.3728, allocations: 72 kB / 0.7981 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008954/0.3737, allocations: 275.5 kB / 0.7984 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004382/0.3741, allocations: 251.2 kB / 0.7986 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007358/0.3749, allocations: 409.9 kB / 0.799 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.3763, allocations: 1.075 MB / 0.8 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3763, allocations: 4 kB / 0.8 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.825e-06/0.3763, allocations: 0 / 0.8 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.3763, allocations: 3.938 kB / 0.8 GB, free: 12.24 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.001886/0.3782, allocations: 1.094 MB / 0.8011 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3783, allocations: 8.031 kB / 0.8011 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/0.3814, allocations: 0.6359 MB / 0.8017 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008264/0.3822, allocations: 0.5384 MB / 0.8023 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.3823, allocations: 45.67 kB / 0.8023 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.332e-05/0.3824, allocations: 52.12 kB / 0.8024 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001891/0.3843, allocations: 1.014 MB / 0.8033 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.3843, allocations: 7.938 kB / 0.8034 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.097e-05/0.3844, allocations: 27.97 kB / 0.8034 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-05/0.3845, allocations: 49.28 kB / 0.8034 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.3867, allocations: 1.008 MB / 0.8044 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004745/0.3914, allocations: 3.498 MB / 0.8078 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.3929, allocations: 494.3 kB / 0.8083 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.3935, allocations: 228.7 kB / 0.8085 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.3935, allocations: 7.984 kB / 0.8085 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.3936, allocations: 34.56 kB / 0.8086 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.865e-06/0.3936, allocations: 4 kB / 0.8086 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43): time 0.00665/0.4002, allocations: 2.014 MB / 0.8105 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4003, allocations: 55.41 kB / 0.8106 GB, free: 0.9219 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007811/0.4011, allocations: 0.5627 MB / 0.8111 GB, free: 360 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.4011, allocations: 37.7 kB / 0.8112 GB, free: 316 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.4015, allocations: 356.3 kB / 0.8115 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.4016, allocations: 149.8 kB / 0.8116 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.4018, allocations: 90.16 kB / 0.8117 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002844/0.4021, allocations: 382.7 kB / 0.8121 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006336/0.4028, allocations: 254.9 kB / 0.8123 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.4035, allocations: 369.7 kB / 0.8127 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.4048, allocations: 0.6225 MB / 0.8133 GB, free: 14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4048, allocations: 0 / 0.8133 GB, free: 14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002304/0.4071, allocations: 0.9348 MB / 0.8142 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.4072, allocations: 8 kB / 0.8142 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4072, allocations: 0 / 0.8142 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.4083, allocations: 277.2 kB / 0.8145 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.409, allocations: 123.7 kB / 0.8146 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008853/0.4178, allocations: 9.105 MB / 0.8235 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/0.4187, allocations: 48.02 kB / 0.8235 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.502e-05/0.4187, allocations: 19.98 kB / 0.8236 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000971/0.4197, allocations: 437 kB / 0.824 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006783/0.4204, allocations: 357.4 kB / 0.8243 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001267/0.4217, allocations: 0.6129 MB / 0.8249 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/0.4217, allocations: 0 / 0.8249 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002482/0.4242, allocations: 1.121 MB / 0.826 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.4242, allocations: 14.44 kB / 0.826 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4242, allocations: 4 kB / 0.826 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008076/0.425, allocations: 221.3 kB / 0.8262 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.4256, allocations: 127.8 kB / 0.8264 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007/0.4327, allocations: 8.797 MB / 0.835 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.4334, allocations: 43.94 kB / 0.835 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.4335, allocations: 16 kB / 0.835 GB, free: 5.871 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.0002589/0.4337, allocations: 216.1 kB / 0.8352 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.4339, allocations: 67.25 kB / 0.8353 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.4341, allocations: 78.38 kB / 0.8354 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4341, allocations: 11.88 kB / 0.8354 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.4341, allocations: 4 kB / 0.8354 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.4341, allocations: 3.984 kB / 0.8354 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008492/0.435, allocations: 0.6532 MB / 0.836 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.435, allocations: 0 / 0.836 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/0.4355, allocations: 83.92 kB / 0.8361 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/0.4364, allocations: 260.8 kB / 0.8363 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.4365, allocations: 11.98 kB / 0.8364 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007796/0.4443, allocations: 9.058 MB / 0.8452 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4443, allocations: 0 / 0.8452 GB, free: 10.52 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.4466, allocations: 0.9131 MB / 0.8461 GB, free: 9.566 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.447, allocations: 184.2 kB / 0.8463 GB, free: 9.367 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.4471, allocations: 12 kB / 0.8463 GB, free: 9.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.4476, allocations: 47.88 kB / 0.8463 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.4478, allocations: 39.89 kB / 0.8464 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.4478, allocations: 11.98 kB / 0.8464 GB, free: 9.258 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005245/0.4483, allocations: 407.1 kB / 0.8468 GB, free: 8.863 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.4483, allocations: 0 / 0.8468 GB, free: 8.863 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001206/0.4495, allocations: 296 kB / 0.847 GB, free: 8.574 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.0001758/0.4497, allocations: 115.2 kB / 0.8472 GB, free: 8.453 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00398/0.4537, allocations: 2.403 MB / 0.8495 GB, free: 5.895 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4537, allocations: 0 / 0.8495 GB, free: 5.895 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.4551, allocations: 1.008 MB / 0.8505 GB, free: 4.809 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4562, allocations: 246.2 kB / 0.8507 GB, free: 4.586 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.459, allocations: 1.554 MB / 0.8522 GB, free: 3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006864/0.4597, allocations: 0.9898 MB / 0.8532 GB, free: 1.984 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006667/0.4604, allocations: 153.4 kB / 0.8533 GB, free: 1.832 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.4605, allocations: 39.44 kB / 0.8534 GB, free: 1.797 MB / 0.67 GB Notification: Performance of SimCode: time 7.11e-07/0.4605, allocations: 0 / 0.8534 GB, free: 1.797 MB / 0.67 GB Notification: Performance of Templates: time 0.02549/0.486, allocations: 13.42 MB / 0.8665 GB, free: 4.523 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)