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.0008684/0.0008684, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.00603/0.00603, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 8.812 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3133, allocations: 162.2 MB / 1.074 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007357/0.3207, allocations: 5.882 MB / 1.08 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006652/0.3274, allocations: 4.464 MB / 1.084 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004953/0.3279, allocations: 27.88 kB / 1.084 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.3285, allocations: 150.9 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.3305, allocations: 0.7074 MB / 1.085 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008726/0.3314, allocations: 295.1 kB / 1.085 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.3333, allocations: 1.441 MB / 1.087 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007804/0.3341, allocations: 0.5302 MB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000583/0.3347, allocations: 394.4 kB / 1.088 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007015/0.3354, allocations: 474 kB / 1.088 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.329e-05/0.3355, allocations: 36 kB / 1.088 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000576/0.336, allocations: 303.4 kB / 1.088 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.3363, allocations: 207.2 kB / 1.089 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003902/0.3367, allocations: 391.6 kB / 1.089 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3377, allocations: 1.035 MB / 1.09 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3377, allocations: 0 / 1.09 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3377, allocations: 0 / 1.09 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.3378, allocations: 0 / 1.09 GB, free: 7.203 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.001891/0.3396, allocations: 0.9739 MB / 1.091 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3397, allocations: 8.031 kB / 1.091 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/0.3431, allocations: 0.6514 MB / 1.092 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008629/0.344, allocations: 0.5385 MB / 1.092 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.3441, allocations: 41.67 kB / 1.092 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.3442, allocations: 56.12 kB / 1.092 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.3463, allocations: 1.018 MB / 1.093 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.3463, allocations: 0 / 1.093 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.993e-05/0.3464, allocations: 31.92 kB / 1.093 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.765e-05/0.3465, allocations: 49.22 kB / 1.093 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.349, allocations: 1.02 MB / 1.094 GB, free: 2.684 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00462/0.3536, allocations: 3.529 MB / 1.098 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.3553, allocations: 0.5077 MB / 1.098 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/0.356, allocations: 249.2 kB / 1.098 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/0.356, allocations: 11.98 kB / 1.099 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.3561, allocations: 38.55 kB / 1.099 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=31): time 4.578e-06/0.3561, allocations: 3.984 kB / 1.099 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.007616/0.3637, allocations: 2.238 MB / 1.101 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.3638, allocations: 55.41 kB / 1.101 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.3645, allocations: 0.5704 MB / 1.101 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.039e-05/0.3646, allocations: 29.7 kB / 1.101 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.3649, allocations: 356.2 kB / 1.102 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.365, allocations: 149.8 kB / 1.102 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.3651, allocations: 45.69 kB / 1.102 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.3653, allocations: 386.6 kB / 1.102 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007366/0.3661, allocations: 272.9 kB / 1.103 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000806/0.3669, allocations: 385.8 kB / 1.103 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.3684, allocations: 0.6655 MB / 1.104 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3685, allocations: 0 / 1.104 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00265/0.3711, allocations: 0.9704 MB / 1.104 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.3712, allocations: 184.8 kB / 1.105 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.3713, allocations: 4 kB / 1.105 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/0.3725, allocations: 276.8 kB / 1.105 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006577/0.3731, allocations: 131.8 kB / 1.105 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007506/0.3807, allocations: 8.482 MB / 1.113 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007466/0.3814, allocations: 56.02 kB / 1.113 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.3815, allocations: 23.98 kB / 1.113 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.3815, allocations: 4 kB / 1.113 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002619/0.3841, allocations: 1.085 MB / 1.114 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3841, allocations: 4 kB / 1.114 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008333/0.385, allocations: 229.2 kB / 1.115 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/0.3857, allocations: 135.7 kB / 1.115 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006602/0.3923, allocations: 8.164 MB / 1.123 GB, free: 3.227 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.3931, allocations: 56.02 kB / 1.123 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.3932, allocations: 23.98 kB / 1.123 GB, free: 3.148 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.0005025/0.3937, allocations: 308.9 kB / 1.123 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.3938, allocations: 67.25 kB / 1.123 GB, free: 2.77 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.394, allocations: 78.38 kB / 1.123 GB, free: 2.688 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.394, allocations: 8 kB / 1.123 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.394, allocations: 4 kB / 1.123 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.394, allocations: 3.984 kB / 1.123 GB, free: 2.672 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007961/0.3948, allocations: 0.6455 MB / 1.124 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3948, allocations: 3.984 kB / 1.124 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005114/0.3953, allocations: 99.86 kB / 1.124 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009904/0.3963, allocations: 260.9 kB / 1.124 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.3964, allocations: 8 kB / 1.124 GB, free: 1.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006902/0.4033, allocations: 8.435 MB / 1.133 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4033, allocations: 0 / 1.133 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.4059, allocations: 0.9677 MB / 1.134 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.4061, allocations: 180.3 kB / 1.134 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.597e-05/0.4062, allocations: 15.92 kB / 1.134 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.4067, allocations: 47.95 kB / 1.134 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.4069, allocations: 43.94 kB / 1.134 GB, free: 7.055 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.4069, allocations: 8 kB / 1.134 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005033/0.4074, allocations: 399.1 kB / 1.134 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4075, allocations: 4 kB / 1.134 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001149/0.4086, allocations: 304 kB / 1.134 GB, free: 6.363 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.0001778/0.4088, allocations: 111.2 kB / 1.135 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004116/0.4129, allocations: 2.415 MB / 1.137 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4129, allocations: 0 / 1.137 GB, free: 3.676 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.4145, allocations: 1.024 MB / 1.138 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4156, allocations: 212.2 kB / 1.138 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.4183, allocations: 1.612 MB / 1.14 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.419, allocations: 0.9897 MB / 1.141 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006062/0.4196, allocations: 157.4 kB / 1.141 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.4197, allocations: 43.42 kB / 1.141 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of SimCode: time 1.112e-06/0.4197, allocations: 0 / 1.141 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of Templates: time 0.02166/0.4414, allocations: 12.83 MB / 1.153 GB, free: 2.812 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)