Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|line1.R|line.R|line2.R|load1.i.1.|load2.i.1.|load3.i.1.|E.S.1.",fileNamePrefix="Buildings_latest_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.001138/0.001138, allocations: 92.16 kB / 16.02 MB, free: 80 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.002068/0.002067, allocations: 182.1 kB / 16.92 MB, free: 6.922 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.378/1.378, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.795/2.795, allocations: 462.6 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003464/0.0003464, allocations: 8.625 kB / 0.9034 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3183, allocations: 159.6 MB / 1.059 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.007204/0.3256, allocations: 5.895 MB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006611/0.3322, allocations: 4.444 MB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006668/0.3329, allocations: 27.81 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.3336, allocations: 150.9 kB / 1.07 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0021/0.3357, allocations: 0.706 MB / 1.07 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007744/0.3365, allocations: 291.6 kB / 1.071 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.3382, allocations: 1.452 MB / 1.072 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.3389, allocations: 0.5302 MB / 1.072 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006578/0.3396, allocations: 394.4 kB / 1.073 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007979/0.3404, allocations: 478 kB / 1.073 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.3405, allocations: 32 kB / 1.073 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006561/0.3412, allocations: 303.4 kB / 1.074 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002456/0.3415, allocations: 211.2 kB / 1.074 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.3419, allocations: 391.7 kB / 1.074 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009049/0.3429, allocations: 0.8182 MB / 1.075 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3429, allocations: 0 / 1.075 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3429, allocations: 0 / 1.075 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.965e-05/0.3429, allocations: 0 / 1.075 GB, free: 4.891 MB / 0.8262 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.001879/0.3448, allocations: 0.966 MB / 1.076 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3448, allocations: 12.03 kB / 1.076 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/0.3483, allocations: 0.6475 MB / 1.077 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009104/0.3492, allocations: 0.5463 MB / 1.077 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.3493, allocations: 33.69 kB / 1.077 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.3494, allocations: 56.11 kB / 1.077 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.3515, allocations: 1.026 MB / 1.078 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.3515, allocations: 3.938 kB / 1.078 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.3516, allocations: 24 kB / 1.078 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.869e-05/0.3517, allocations: 45.28 kB / 1.078 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002597/0.3543, allocations: 1.02 MB / 1.079 GB, free: 388 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004646/0.359, allocations: 3.529 MB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.3605, allocations: 0.523 MB / 1.083 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006096/0.3611, allocations: 252.6 kB / 1.083 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.3612, allocations: 0 / 1.083 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3612, allocations: 42.56 kB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.3612, allocations: 0 / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=43): time 0.00741/0.3687, allocations: 2.227 MB / 1.086 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.3687, allocations: 59.41 kB / 1.086 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007497/0.3695, allocations: 0.5743 MB / 1.086 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.3695, allocations: 29.7 kB / 1.086 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002626/0.3698, allocations: 352.2 kB / 1.087 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.3699, allocations: 149.8 kB / 1.087 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.37, allocations: 45.7 kB / 1.087 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3702, allocations: 374.7 kB / 1.087 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000736/0.3709, allocations: 276.9 kB / 1.087 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007938/0.3717, allocations: 389.7 kB / 1.088 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.3733, allocations: 0.6733 MB / 1.089 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3733, allocations: 0 / 1.089 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002628/0.376, allocations: 0.974 MB / 1.089 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.3761, allocations: 184.5 kB / 1.09 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.3761, allocations: 8 kB / 1.09 GB, free: 5.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.3774, allocations: 272.8 kB / 1.09 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000648/0.3781, allocations: 123.8 kB / 1.09 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007345/0.3854, allocations: 8.493 MB / 1.098 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000717/0.3862, allocations: 55.94 kB / 1.098 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.3862, allocations: 16 kB / 1.098 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/0.3862, allocations: 8.062 kB / 1.098 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002612/0.3889, allocations: 1.089 MB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3889, allocations: 4 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008268/0.3897, allocations: 213.3 kB / 1.1 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.3904, allocations: 143.7 kB / 1.1 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006363/0.3967, allocations: 8.168 MB / 1.108 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.3975, allocations: 51.95 kB / 1.108 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-05/0.3975, allocations: 20 kB / 1.108 GB, free: 0.8398 MB / 0.8575 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.0004388/0.398, allocations: 313 kB / 1.108 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.3981, allocations: 71.16 kB / 1.108 GB, free: 464 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.3983, allocations: 78.38 kB / 1.108 GB, free: 384 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3983, allocations: 4 kB / 1.108 GB, free: 380 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.3984, allocations: 4 kB / 1.108 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3984, allocations: 0 / 1.108 GB, free: 376 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.3993, allocations: 0.6455 MB / 1.109 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3993, allocations: 0 / 1.109 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/0.3999, allocations: 103.8 kB / 1.109 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.4009, allocations: 265 kB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.401, allocations: 4 kB / 1.109 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006944/0.4079, allocations: 8.439 MB / 1.118 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4079, allocations: 0 / 1.118 GB, free: 6.047 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.4104, allocations: 0.9678 MB / 1.118 GB, free: 5.043 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002978/0.4107, allocations: 184.2 kB / 1.119 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4109, allocations: 7.938 kB / 1.119 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.4114, allocations: 51.95 kB / 1.119 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.4116, allocations: 39.94 kB / 1.119 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.4116, allocations: 15.98 kB / 1.119 GB, free: 4.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004946/0.4121, allocations: 407 kB / 1.119 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4121, allocations: 0 / 1.119 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00117/0.4133, allocations: 300 kB / 1.119 GB, free: 4.047 MB / 0.8731 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.0001728/0.4135, allocations: 107.2 kB / 1.12 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.004131/0.4176, allocations: 2.418 MB / 1.122 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.4176, allocations: 0 / 1.122 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.4192, allocations: 1.019 MB / 1.123 GB, free: 268 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.4203, allocations: 206.8 kB / 1.123 GB, free: 64 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003009/0.4234, allocations: 1.665 MB / 1.125 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/0.4242, allocations: 0.9859 MB / 1.126 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.4245, allocations: 51.42 kB / 1.126 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of SimCode: time 1.122e-06/0.4245, allocations: 0 / 1.126 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of Templates: time 0.03156/0.456, allocations: 26.91 MB / 1.152 GB, free: 2.434 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLine.pipe 2>&1)