Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, 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.008011/0.008011, allocations: 170.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.667/1.667, allocations: 252 MB / 0.5105 GB, free: 4.668 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005386/0.0005389, allocations: 12 kB / 0.6249 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/0.5302, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02344/0.5537, allocations: 21.5 MB / 0.7497 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02718/0.581, allocations: 17.49 MB / 0.7668 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003952/0.585, allocations: 99.44 kB / 0.7669 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.5873, allocations: 0.5892 MB / 0.7675 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.5976, allocations: 3.196 MB / 0.7706 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.6009, allocations: 1.179 MB / 0.7717 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008784/0.6097, allocations: 6.863 MB / 0.7784 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.613, allocations: 2.503 MB / 0.7809 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003287/0.6163, allocations: 1.945 MB / 0.7828 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003301/0.6196, allocations: 2.249 MB / 0.785 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004496/0.6201, allocations: 164 kB / 0.7851 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002127/0.6222, allocations: 1.057 MB / 0.7862 GB, free: 160 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008932/0.6231, allocations: 0.938 MB / 0.7871 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001995/0.6251, allocations: 1.754 MB / 0.7888 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005083/0.6302, allocations: 4.834 MB / 0.7935 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.6302, allocations: 0 / 0.7935 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6303, allocations: 0 / 0.7935 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001411/0.6304, allocations: 0 / 0.7935 GB, free: 8.594 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.008089/0.6385, allocations: 3.838 MB / 0.7973 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.6386, allocations: 12.03 kB / 0.7973 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01616/0.6547, allocations: 3.363 MB / 0.8006 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004324/0.6591, allocations: 2.06 MB / 0.8026 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.6592, allocations: 181.1 kB / 0.8027 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004672/0.6597, allocations: 236.1 kB / 0.803 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01233/0.6721, allocations: 4.749 MB / 0.8076 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.832e-05/0.6722, allocations: 0 / 0.8076 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.6725, allocations: 99.98 kB / 0.8077 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.6727, allocations: 168.8 kB / 0.8079 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.6859, allocations: 5.245 MB / 0.813 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.7079, allocations: 14.11 MB / 0.8268 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.7193, allocations: 3.854 MB / 0.8305 GB, free: 1.16 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003829/0.7232, allocations: 1.518 MB / 0.832 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.7234, allocations: 29.23 kB / 0.832 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004339/0.7277, allocations: 1.824 MB / 0.8338 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=163): time 4.258e-06/0.7277, allocations: 3.938 kB / 0.8338 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=250): time 0.1292/0.8569, allocations: 33.45 MB / 0.8665 GB, free: 12.05 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002537/0.8572, allocations: 0.4889 MB / 0.867 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/0.8603, allocations: 2.292 MB / 0.8692 GB, free: 9.148 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003283/0.8606, allocations: 81.69 kB / 0.8693 GB, free: 9.062 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.8618, allocations: 1.438 MB / 0.8707 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007195/0.8625, allocations: 0.8124 MB / 0.8715 GB, free: 6.785 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.8628, allocations: 190.4 kB / 0.8717 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.8629, allocations: 305.1 kB / 0.872 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005009/0.8679, allocations: 1.933 MB / 0.8738 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005308/0.8732, allocations: 2.235 MB / 0.876 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.8834, allocations: 4.205 MB / 0.8801 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.8835, allocations: 8 kB / 0.8801 GB, free: 13.69 MB / 0.7012 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01601/0.8995, allocations: 6.189 MB / 0.8862 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002658/0.8998, allocations: 405 kB / 0.8866 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.8998, allocations: 8 kB / 0.8866 GB, free: 6.887 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006402/0.9062, allocations: 1.856 MB / 0.8884 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00299/0.9092, allocations: 0.5852 MB / 0.889 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02251/0.9318, allocations: 14.19 MB / 0.9028 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004118/0.9359, allocations: 411.5 kB / 0.9032 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.9362, allocations: 95.91 kB / 0.9033 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.9362, allocations: 4 kB / 0.9033 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4608/1.397, allocations: 5.773 MB / 0.9089 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/1.397, allocations: 5.844 kB / 0.9089 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006802/1.404, allocations: 1.826 MB / 0.9107 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/1.407, allocations: 0.6077 MB / 0.9113 GB, free: 162.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02354/1.431, allocations: 13.47 MB / 0.9245 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00442/1.435, allocations: 410.5 kB / 0.9249 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004363/1.436, allocations: 83.8 kB / 0.9249 GB, free: 156.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.002209/1.438, allocations: 0.7799 MB / 0.9257 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008118/1.439, allocations: 336.4 kB / 0.926 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009787/1.44, allocations: 391.3 kB / 0.9264 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/1.44, allocations: 23.59 kB / 0.9264 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.392e-05/1.44, allocations: 10.41 kB / 0.9264 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/1.44, allocations: 17.27 kB / 0.9264 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/1.444, allocations: 3.173 MB / 0.9295 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.444, allocations: 3.844 kB / 0.9295 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002448/1.447, allocations: 0.5139 MB / 0.9301 GB, free: 154.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005484/1.452, allocations: 1.715 MB / 0.9317 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/1.452, allocations: 53.36 kB / 0.9318 GB, free: 154.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/1.47, allocations: 13.98 MB / 0.9454 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.47, allocations: 2.656 kB / 0.9454 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/1.485, allocations: 5.806 MB / 0.9511 GB, free: 142.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/1.487, allocations: 0.661 MB / 0.9517 GB, free: 141.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005051/1.487, allocations: 47.98 kB / 0.9518 GB, free: 141.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003016/1.49, allocations: 399.5 kB / 0.9522 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009901/1.491, allocations: 296.3 kB / 0.9525 GB, free: 141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.492, allocations: 67.97 kB / 0.9525 GB, free: 141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001972/1.494, allocations: 1.54 MB / 0.954 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.41e-07/1.494, allocations: 4 kB / 0.954 GB, free: 139.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004343/1.498, allocations: 1.621 MB / 0.9556 GB, free: 137.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003321/1.498, allocations: 163 kB / 0.9558 GB, free: 137.6 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0213/1.52, allocations: 10.11 MB / 0.9656 GB, free: 127.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/1.52, allocations: 4 kB / 0.9656 GB, free: 127.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007626/1.527, allocations: 3.492 MB / 0.9691 GB, free: 123.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/1.532, allocations: 1.044 MB / 0.9701 GB, free: 122.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.544, allocations: 7.971 MB / 0.9779 GB, free: 114.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/1.546, allocations: 2.301 MB / 0.9801 GB, free: 112.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003049/1.549, allocations: 0.6348 MB / 0.9807 GB, free: 111.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/1.549, allocations: 183.4 kB / 0.9809 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.352e-06/1.549, allocations: 0 / 0.9809 GB, free: 111.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.1091/1.658, allocations: 76.13 MB / 1.055 GB, free: 36.5 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) Environment - environmentSimulation: