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.001328/0.001328, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001644/0.001644, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.759/2.759, allocations: 436.5 MB / 0.7104 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004029, allocations: 11.98 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8293/0.8298, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLine): time 0.009512/0.8393, allocations: 5.359 MB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008947/0.8483, allocations: 4.113 MB / 1.03 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008091/0.8492, allocations: 19.88 kB / 1.03 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006844/0.8499, allocations: 139.1 kB / 1.03 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.8528, allocations: 0.6218 MB / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009972/0.8538, allocations: 227.6 kB / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.8553, allocations: 0.6783 MB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009645/0.8563, allocations: 488.2 kB / 1.032 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007483/0.857, allocations: 346.7 kB / 1.032 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007977/0.8578, allocations: 362.6 kB / 1.033 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.372e-05/0.8579, allocations: 32 kB / 1.033 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.8585, allocations: 139.8 kB / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000263/0.8587, allocations: 187.4 kB / 1.033 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.859, allocations: 165.3 kB / 1.033 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.8601, allocations: 0.8006 MB / 1.034 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.8602, allocations: 4 kB / 1.034 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8602, allocations: 0 / 1.034 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.8602, allocations: 0 / 1.034 GB, free: 3.418 MB / 0.7794 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.002449/0.8627, allocations: 0.9736 MB / 1.035 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.8627, allocations: 15.92 kB / 1.035 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005125/0.8679, allocations: 0.6699 MB / 1.036 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.8692, allocations: 0.5105 MB / 1.036 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-05/0.8693, allocations: 41.31 kB / 1.036 GB, free: 1.113 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.8695, allocations: 55.97 kB / 1.036 GB, free: 1.059 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/0.8725, allocations: 1.018 MB / 1.037 GB, free: 0 / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.8725, allocations: 0 / 1.037 GB, free: 0 / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.8727, allocations: 24.05 kB / 1.037 GB, free: 15.97 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.8728, allocations: 49.23 kB / 1.037 GB, free: 15.93 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/0.8764, allocations: 1.012 MB / 1.038 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006187/0.8826, allocations: 3.513 MB / 1.042 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.8843, allocations: 0.5164 MB / 1.042 GB, free: 10.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.8843, allocations: 8 kB / 1.042 GB, free: 10.56 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.8843, allocations: 30.56 kB / 1.042 GB, free: 10.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=31): time 3.256e-06/0.8844, allocations: 4 kB / 1.042 GB, free: 10.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.006991/0.8913, allocations: 2.232 MB / 1.045 GB, free: 8.242 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.8914, allocations: 55.41 kB / 1.045 GB, free: 8.176 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007593/0.8922, allocations: 0.5588 MB / 1.045 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.8923, allocations: 33.7 kB / 1.045 GB, free: 7.57 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.8926, allocations: 364.1 kB / 1.046 GB, free: 7.211 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.8927, allocations: 145.8 kB / 1.046 GB, free: 7.066 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.8928, allocations: 12 kB / 1.046 GB, free: 7.055 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002114/0.893, allocations: 370.8 kB / 1.046 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006928/0.8937, allocations: 268.9 kB / 1.046 GB, free: 6.422 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/0.8945, allocations: 389.7 kB / 1.047 GB, free: 5.996 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007409/0.8952, allocations: 309.7 kB / 1.047 GB, free: 5.695 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8952, allocations: 0 / 1.047 GB, free: 5.695 MB / 0.795 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.003145/0.8984, allocations: 0.9783 MB / 1.048 GB, free: 4.691 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005927/0.899, allocations: 1.225 MB / 1.049 GB, free: 3.371 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.899, allocations: 4 kB / 1.049 GB, free: 3.367 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.9006, allocations: 272.9 kB / 1.049 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/0.9014, allocations: 131.8 kB / 1.049 GB, free: 2.953 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.912, allocations: 8.562 MB / 1.058 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.9132, allocations: 56.02 kB / 1.058 GB, free: 9.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.9133, allocations: 27.92 kB / 1.058 GB, free: 9.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.9133, allocations: 9.234 kB / 1.058 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003847/0.9172, allocations: 1.07 MB / 1.059 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.9172, allocations: 4 kB / 1.059 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.9184, allocations: 233.5 kB / 1.059 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/0.9194, allocations: 127.8 kB / 1.059 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008713/0.9281, allocations: 8.223 MB / 1.067 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/0.9291, allocations: 52.02 kB / 1.067 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.9292, allocations: 24 kB / 1.067 GB, free: 14.89 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005846/0.9298, allocations: 309 kB / 1.068 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.93, allocations: 71.16 kB / 1.068 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.9302, allocations: 78.38 kB / 1.068 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.9302, allocations: 8 kB / 1.068 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.9302, allocations: 8 kB / 1.068 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.9303, allocations: 3.984 kB / 1.068 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.9314, allocations: 0.6377 MB / 1.069 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9314, allocations: 3.938 kB / 1.069 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007094/0.9321, allocations: 107.8 kB / 1.069 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.9335, allocations: 261.2 kB / 1.069 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-05/0.9335, allocations: 7.984 kB / 1.069 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009692/0.9432, allocations: 8.498 MB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.9433, allocations: 0 / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.9467, allocations: 0.9678 MB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005153/0.9473, allocations: 180.3 kB / 1.078 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.9474, allocations: 4 kB / 1.078 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.9482, allocations: 51.95 kB / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.9484, allocations: 47.83 kB / 1.078 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.356e-05/0.9485, allocations: 12 kB / 1.078 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008515/0.9494, allocations: 399.1 kB / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9494, allocations: 0 / 1.079 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001924/0.9513, allocations: 300 kB / 1.079 GB, free: 2.047 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002472/0.9516, allocations: 117.4 kB / 1.079 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005823/0.9574, allocations: 2.418 MB / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.9575, allocations: 0 / 1.082 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/0.9596, allocations: 1.02 MB / 1.083 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.9611, allocations: 214.3 kB / 1.083 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003699/0.9648, allocations: 1.527 MB / 1.084 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008458/0.9657, allocations: 0.9898 MB / 1.085 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0009781/0.9667, allocations: 153.4 kB / 1.085 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.9669, allocations: 43.44 kB / 1.085 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/0.9669, allocations: 0 / 1.085 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of Templates: time 0.02398/0.9909, allocations: 12.5 MB / 1.098 GB, free: 14.91 MB / 0.8575 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)