Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001162/0.001162, allocations: 108 kB / 15.6 MB, free: 132 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.00122/0.001221, allocations: 195.5 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7451 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 75.7 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3412, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.00834/0.3496, allocations: 6.284 MB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007019/0.3567, allocations: 4.545 MB / 1.079 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006852/0.3574, allocations: 23.88 kB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.3599, allocations: 0.9181 MB / 1.08 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.3625, allocations: 0.7724 MB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000864/0.3634, allocations: 323.5 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001645/0.365, allocations: 1.129 MB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.3661, allocations: 0.689 MB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007479/0.3668, allocations: 470.4 kB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009278/0.3678, allocations: 0.4903 MB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.368, allocations: 68 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006702/0.3686, allocations: 279.5 kB / 1.084 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.3689, allocations: 247.3 kB / 1.084 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005422/0.3695, allocations: 410 kB / 1.084 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3707, allocations: 1.063 MB / 1.085 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3708, allocations: 0 / 1.085 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3708, allocations: 0 / 1.085 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.589e-05/0.3708, allocations: 0 / 1.085 GB, free: 8.734 MB / 0.8419 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.002404/0.3732, allocations: 1.106 MB / 1.087 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3733, allocations: 12.03 kB / 1.087 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/0.3767, allocations: 0.6241 MB / 1.087 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.3779, allocations: 0.5463 MB / 1.088 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.816e-05/0.3779, allocations: 37.69 kB / 1.088 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.3781, allocations: 60.09 kB / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.3805, allocations: 1.014 MB / 1.089 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3805, allocations: 3.938 kB / 1.089 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.429e-05/0.3806, allocations: 24 kB / 1.089 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/0.3807, allocations: 49.28 kB / 1.089 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.3832, allocations: 1.008 MB / 1.09 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/0.3878, allocations: 3.497 MB / 1.093 GB, free: 324 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.3894, allocations: 496.7 kB / 1.094 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005908/0.39, allocations: 237.1 kB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.3901, allocations: 4 kB / 1.094 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.3901, allocations: 34.56 kB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=31): time 2.315e-06/0.3901, allocations: 0 / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.007235/0.3974, allocations: 2.025 MB / 1.096 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.3974, allocations: 59.41 kB / 1.096 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.3983, allocations: 0.5704 MB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.3984, allocations: 29.7 kB / 1.097 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.3986, allocations: 356.2 kB / 1.097 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.3988, allocations: 145.8 kB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.399, allocations: 94.16 kB / 1.097 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.3992, allocations: 378.7 kB / 1.097 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000733/0.3999, allocations: 258.9 kB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007953/0.4007, allocations: 365.7 kB / 1.098 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.4022, allocations: 0.6187 MB / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4022, allocations: 0 / 1.099 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002602/0.4048, allocations: 0.9196 MB / 1.1 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.4048, allocations: 8 kB / 1.1 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4049, allocations: 7.938 kB / 1.1 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.4061, allocations: 273.2 kB / 1.1 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.4067, allocations: 115.8 kB / 1.1 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008111/0.4148, allocations: 9.135 MB / 1.109 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.4156, allocations: 44.02 kB / 1.109 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/0.4157, allocations: 23.98 kB / 1.109 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001102/0.4168, allocations: 437 kB / 1.109 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007877/0.4176, allocations: 357.4 kB / 1.11 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001487/0.4191, allocations: 0.6051 MB / 1.11 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.397e-06/0.4192, allocations: 0 / 1.11 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.002678/0.4218, allocations: 1.121 MB / 1.111 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4219, allocations: 7.938 kB / 1.111 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4219, allocations: 4.344 kB / 1.111 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008191/0.4227, allocations: 221 kB / 1.112 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.4234, allocations: 123.8 kB / 1.112 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006742/0.4301, allocations: 8.801 MB / 1.12 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.4308, allocations: 39.95 kB / 1.12 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.4309, allocations: 27.92 kB / 1.12 GB, free: 2.363 MB / 0.8731 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.000235/0.4311, allocations: 221.5 kB / 1.121 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4313, allocations: 63.25 kB / 1.121 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001755/0.4314, allocations: 74.38 kB / 1.121 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.4314, allocations: 8 kB / 1.121 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.4315, allocations: 0 / 1.121 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.4315, allocations: 7.922 kB / 1.121 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008669/0.4323, allocations: 0.6455 MB / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4324, allocations: 0 / 1.121 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005005/0.4329, allocations: 83.91 kB / 1.121 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009505/0.4338, allocations: 260.8 kB / 1.122 GB, free: 0.9375 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/0.4339, allocations: 19.98 kB / 1.122 GB, free: 0.918 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/0.4406, allocations: 9.065 MB / 1.131 GB, free: 7.008 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.4406, allocations: 3.984 kB / 1.131 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/0.443, allocations: 0.917 MB / 1.131 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002866/0.4433, allocations: 184.2 kB / 1.132 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.772e-05/0.4433, allocations: 4 kB / 1.132 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.4438, allocations: 47.94 kB / 1.132 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.444, allocations: 35.89 kB / 1.132 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.444, allocations: 16 kB / 1.132 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004706/0.4445, allocations: 407.1 kB / 1.132 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4445, allocations: 0 / 1.132 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001048/0.4456, allocations: 308 kB / 1.132 GB, free: 5.055 MB / 0.8887 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.0001492/0.4457, allocations: 103.2 kB / 1.133 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003838/0.4496, allocations: 2.403 MB / 1.135 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4496, allocations: 0 / 1.135 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.4509, allocations: 1.004 MB / 1.136 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.4519, allocations: 229.4 kB / 1.136 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.4542, allocations: 1.308 MB / 1.137 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.4548, allocations: 0.9821 MB / 1.138 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005553/0.4553, allocations: 145.4 kB / 1.138 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4555, allocations: 47.42 kB / 1.139 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of SimCode: time 6.52e-07/0.4555, allocations: 0 / 1.139 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of Templates: time 0.02111/0.4766, allocations: 13.44 MB / 1.152 GB, free: 1.262 MB / 0.9044 GB make -j1 -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)