Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008415/0.0008415, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009844/0.0009845, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.623/1.623, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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.0004941/0.0004945, allocations: 12.28 kB / 0.6737 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2275, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0202/0.2478, allocations: 20.25 MB / 0.8071 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.2717, allocations: 16.52 MB / 0.8232 GB, free: 7.051 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003774/0.2756, allocations: 103.4 kB / 0.8233 GB, free: 6.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002292/0.2779, allocations: 0.5579 MB / 0.8238 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00962/0.2875, allocations: 2.86 MB / 0.8266 GB, free: 3.523 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.2909, allocations: 0.9662 MB / 0.8276 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009926/0.3009, allocations: 5.925 MB / 0.8334 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004174/0.3051, allocations: 2.06 MB / 0.8354 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.3094, allocations: 1.969 MB / 0.8373 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004745/0.3142, allocations: 2.218 MB / 0.8395 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0009109/0.3151, allocations: 176 kB / 0.8396 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.3174, allocations: 0.4994 MB / 0.8401 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.3186, allocations: 0.9498 MB / 0.841 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00146/0.3201, allocations: 0.6989 MB / 0.8417 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005144/0.3252, allocations: 3.935 MB / 0.8456 GB, free: 12 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3253, allocations: 0 / 0.8456 GB, free: 12 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3253, allocations: 0 / 0.8456 GB, free: 12 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001829/0.3255, allocations: 0 / 0.8456 GB, free: 12 kB / 0.6544 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.01038/0.3359, allocations: 4.099 MB / 0.8496 GB, free: 11.8 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3359, allocations: 12.03 kB / 0.8496 GB, free: 11.79 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.015/0.3509, allocations: 3.366 MB / 0.8529 GB, free: 8.414 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004623/0.3556, allocations: 1.987 MB / 0.8548 GB, free: 6.359 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004184/0.3561, allocations: 469.7 kB / 0.8553 GB, free: 5.836 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006726/0.3567, allocations: 235.9 kB / 0.8555 GB, free: 5.605 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.3679, allocations: 4.853 MB / 0.8602 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/0.368, allocations: 3.938 kB / 0.8602 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.3683, allocations: 108 kB / 0.8603 GB, free: 0.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.3685, allocations: 180.7 kB / 0.8605 GB, free: 328 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.3809, allocations: 5.292 MB / 0.8657 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/0.4064, allocations: 14.59 MB / 0.8799 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009083/0.4155, allocations: 3.677 MB / 0.8835 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003574/0.4191, allocations: 1.584 MB / 0.8851 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.4193, allocations: 29.28 kB / 0.8851 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004079/0.4234, allocations: 1.906 MB / 0.8869 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 4.649e-06/0.4234, allocations: 0 / 0.8869 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.115/0.5384, allocations: 34.09 MB / 0.9202 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002726/0.5387, allocations: 0.4966 MB / 0.9207 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5109/1.05, allocations: 2.27 MB / 0.9229 GB, free: 126.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005823/1.05, allocations: 75.81 kB / 0.923 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001604/1.052, allocations: 1.43 MB / 0.9244 GB, free: 126.7 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.053, allocations: 0.8209 MB / 0.9252 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004949/1.054, allocations: 46.59 kB / 0.9253 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002373/1.054, allocations: 397 kB / 0.9256 GB, free: 126 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006022/1.06, allocations: 2.114 MB / 0.9277 GB, free: 125.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005438/1.065, allocations: 2.408 MB / 0.93 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005239/1.071, allocations: 2.294 MB / 0.9323 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.071, allocations: 2.625 kB / 0.9323 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0181/1.089, allocations: 6.88 MB / 0.939 GB, free: 121.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.089, allocations: 148.4 kB / 0.9392 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.929e-05/1.089, allocations: 10.42 kB / 0.9392 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/1.099, allocations: 2.944 MB / 0.942 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002917/1.102, allocations: 0.5732 MB / 0.9426 GB, free: 121 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03331/1.135, allocations: 17.31 MB / 0.9595 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/1.139, allocations: 426.2 kB / 0.9599 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005763/1.14, allocations: 89.09 kB / 0.96 GB, free: 112.3 MB / 0.7325 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,45.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.002224/1.142, allocations: 0.7086 MB / 0.9607 GB, free: 111.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000945/1.143, allocations: 330.8 kB / 0.961 GB, free: 111.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008873/1.144, allocations: 378.2 kB / 0.9614 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/1.144, allocations: 31.55 kB / 0.9614 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.271e-05/1.144, allocations: 15.23 kB / 0.9614 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/1.144, allocations: 11.53 kB / 0.9614 GB, free: 111.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004857/1.149, allocations: 3.629 MB / 0.965 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/1.149, allocations: 0.875 kB / 0.965 GB, free: 109.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.151, allocations: 0.4978 MB / 0.9654 GB, free: 109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007941/1.159, allocations: 2.87 MB / 0.9682 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003751/1.159, allocations: 47.78 kB / 0.9683 GB, free: 107.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02976/1.189, allocations: 17.12 MB / 0.985 GB, free: 92.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.189, allocations: 0 / 0.985 GB, free: 92.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.204, allocations: 6.523 MB / 0.9914 GB, free: 86.42 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/1.206, allocations: 0.6922 MB / 0.9921 GB, free: 85.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008882/1.207, allocations: 44 kB / 0.9921 GB, free: 85.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.21, allocations: 415.5 kB / 0.9925 GB, free: 85.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001067/1.211, allocations: 366.6 kB / 0.9928 GB, free: 84.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/1.211, allocations: 75.97 kB / 0.9929 GB, free: 84.82 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002299/1.213, allocations: 1.513 MB / 0.9944 GB, free: 83.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.072e-06/1.213, allocations: 0 / 0.9944 GB, free: 83.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00371/1.217, allocations: 1.044 MB / 0.9954 GB, free: 82.27 MB / 0.7325 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 (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,60.0%) 52} * Non-linear torn systems: 1 {10 62} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004504/1.217, allocations: 171 kB / 0.9956 GB, free: 82.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01879/1.236, allocations: 6.822 MB / 1.002 GB, free: 75.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.236, allocations: 0 / 1.002 GB, free: 75.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/1.251, allocations: 4.231 MB / 1.006 GB, free: 70.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005499/1.256, allocations: 1.04 MB / 1.007 GB, free: 69.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/1.27, allocations: 7.742 MB / 1.015 GB, free: 62.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/1.272, allocations: 2.234 MB / 1.017 GB, free: 59.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002763/1.275, allocations: 0.5138 MB / 1.018 GB, free: 59.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008027/1.276, allocations: 175.4 kB / 1.018 GB, free: 59.19 MB / 0.7325 GB Notification: Performance of SimCode: time 1.082e-06/1.276, allocations: 0 / 1.018 GB, free: 59.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.1013/1.377, allocations: 70.14 MB / 1.086 GB, free: 5.922 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) Environment - environmentSimulation: