Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001131/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001389/0.001389, allocations: 191.7 kB / 16.13 MB, free: 6.711 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7447 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.83 kB / 0.9114 GB, free: 33.67 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3534, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.008301/0.3618, allocations: 6.298 MB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006558/0.3684, allocations: 4.53 MB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005798/0.369, allocations: 23.88 kB / 1.078 GB, free: 68 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.3713, allocations: 0.8564 MB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.3734, allocations: 0.707 MB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.3741, allocations: 287.6 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.3758, allocations: 1.45 MB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008214/0.3767, allocations: 473.8 kB / 1.082 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007085/0.3774, allocations: 418.3 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006509/0.3781, allocations: 0.5019 MB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.3782, allocations: 44 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007468/0.3789, allocations: 315.4 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.3791, allocations: 219.3 kB / 1.083 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.3795, allocations: 389.9 kB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3806, allocations: 1.059 MB / 1.085 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3806, allocations: 0 / 1.085 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3806, allocations: 0 / 1.085 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.3806, allocations: 0 / 1.085 GB, free: 9.367 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.00197/0.3826, allocations: 1.091 MB / 1.086 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3826, allocations: 8.031 kB / 1.086 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/0.3858, allocations: 0.6319 MB / 1.086 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009029/0.3867, allocations: 0.5463 MB / 1.087 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.3868, allocations: 45.61 kB / 1.087 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.083e-05/0.3869, allocations: 52.12 kB / 1.087 GB, free: 6.898 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.3889, allocations: 1.018 MB / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3889, allocations: 0 / 1.088 GB, free: 5.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.389, allocations: 27.98 kB / 1.088 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-05/0.3891, allocations: 49.28 kB / 1.088 GB, free: 5.766 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00245/0.3915, allocations: 0.9964 MB / 1.089 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/0.396, allocations: 3.501 MB / 1.092 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.3975, allocations: 496.4 kB / 1.093 GB, free: 480 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/0.3981, allocations: 233.2 kB / 1.093 GB, free: 244 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.3981, allocations: 7.984 kB / 1.093 GB, free: 236 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.3982, allocations: 42.55 kB / 1.093 GB, free: 184 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/0.3982, allocations: 0 / 1.093 GB, free: 184 kB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.007058/0.4052, allocations: 2.016 MB / 1.095 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.4053, allocations: 59.34 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007451/0.4061, allocations: 0.582 MB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.4061, allocations: 29.7 kB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.4064, allocations: 352.2 kB / 1.096 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.4065, allocations: 157.8 kB / 1.096 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.4067, allocations: 90.16 kB / 1.096 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4069, allocations: 378.7 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007218/0.4076, allocations: 262.9 kB / 1.097 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007073/0.4083, allocations: 357.8 kB / 1.097 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.4097, allocations: 0.6226 MB / 1.098 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4097, allocations: 0 / 1.098 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002459/0.4122, allocations: 0.9274 MB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.4122, allocations: 4 kB / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.4122, allocations: 4 kB / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.4134, allocations: 273.2 kB / 1.099 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.4141, allocations: 119.8 kB / 1.099 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007118/0.4212, allocations: 8.449 MB / 1.107 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.4219, allocations: 44.02 kB / 1.107 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.4219, allocations: 20 kB / 1.108 GB, free: 472 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009054/0.4228, allocations: 433 kB / 1.108 GB, free: 36 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007618/0.4236, allocations: 361.4 kB / 1.108 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001301/0.4249, allocations: 0.609 MB / 1.109 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.4249, allocations: 0 / 1.109 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00256/0.4275, allocations: 1.121 MB / 1.11 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4275, allocations: 9.875 kB / 1.11 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4276, allocations: 4.344 kB / 1.11 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008655/0.4284, allocations: 224.9 kB / 1.11 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.4291, allocations: 119.8 kB / 1.11 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006433/0.4355, allocations: 8.173 MB / 1.118 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007209/0.4363, allocations: 43.95 kB / 1.118 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.4363, allocations: 19.98 kB / 1.118 GB, free: 4.379 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.0002459/0.4366, allocations: 214.5 kB / 1.119 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.4367, allocations: 67.25 kB / 1.119 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.4369, allocations: 78.38 kB / 1.119 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4369, allocations: 7.938 kB / 1.119 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.4369, allocations: 0 / 1.119 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.4369, allocations: 7.984 kB / 1.119 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008379/0.4378, allocations: 0.6416 MB / 1.119 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4378, allocations: 0 / 1.119 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.4383, allocations: 95.91 kB / 1.119 GB, free: 3.219 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.4393, allocations: 264.9 kB / 1.12 GB, free: 2.941 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.4394, allocations: 4 kB / 1.12 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007019/0.4464, allocations: 8.396 MB / 1.128 GB, free: 9.738 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4464, allocations: 3.938 kB / 1.128 GB, free: 9.734 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.4487, allocations: 0.9131 MB / 1.129 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.449, allocations: 184.2 kB / 1.129 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.034e-05/0.4491, allocations: 12 kB / 1.129 GB, free: 8.574 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.4496, allocations: 39.95 kB / 1.129 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.4498, allocations: 39.88 kB / 1.129 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.4498, allocations: 12 kB / 1.129 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005261/0.4503, allocations: 403.1 kB / 1.129 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4504, allocations: 0 / 1.129 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001229/0.4516, allocations: 300 kB / 1.13 GB, free: 7.805 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.0001649/0.4518, allocations: 111.2 kB / 1.13 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003863/0.4556, allocations: 2.344 MB / 1.132 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.4557, allocations: 4 kB / 1.132 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.4571, allocations: 0.9924 MB / 1.133 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4582, allocations: 227.3 kB / 1.133 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.4608, allocations: 1.559 MB / 1.135 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.4614, allocations: 0.982 MB / 1.136 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006074/0.462, allocations: 145.4 kB / 1.136 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.4622, allocations: 43.44 kB / 1.136 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of SimCode: time 2.004e-06/0.4622, allocations: 0 / 1.136 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of Templates: time 0.02182/0.484, allocations: 12.82 MB / 1.148 GB, free: 4.426 MB / 0.9044 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)