Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 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.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001222/0.001222, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001227/0.001228, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.482/1.482, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.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.908/1.908, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001651/0.001652, allocations: 71.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2708, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.3894/0.6602, allocations: 22.41 MB / 0.8067 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02461/0.6848, allocations: 17.74 MB / 0.824 GB, free: 24.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003892/0.6888, allocations: 116.3 kB / 0.8241 GB, free: 24.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01053/0.6994, allocations: 4.158 MB / 0.8282 GB, free: 22.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01629/0.7157, allocations: 3.509 MB / 0.8316 GB, free: 20.36 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004842/0.7205, allocations: 1.319 MB / 0.8329 GB, free: 19.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01078/0.7313, allocations: 5.577 MB / 0.8383 GB, free: 17.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007406/0.7388, allocations: 3.552 MB / 0.8418 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006165/0.745, allocations: 2.298 MB / 0.844 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006311/0.7513, allocations: 2.405 MB / 0.8464 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001908/0.7533, allocations: 350.4 kB / 0.8467 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004342/0.7576, allocations: 1.014 MB / 0.8477 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00279/0.7604, allocations: 1.158 MB / 0.8488 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.007637/0.7681, allocations: 1.965 MB / 0.8508 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01037/0.7785, allocations: 5.066 MB / 0.8557 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.7786, allocations: 1.062 kB / 0.8557 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7786, allocations: 0 / 0.8557 GB, free: 8.871 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002524/0.7788, allocations: 0 / 0.8557 GB, free: 8.871 MB / 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.01308/0.7919, allocations: 4.388 MB / 0.86 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.792, allocations: 8.875 kB / 0.86 GB, free: 5.785 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01673/0.8087, allocations: 3.259 MB / 0.8632 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006271/0.815, allocations: 2.201 MB / 0.8653 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.8153, allocations: 185.6 kB / 0.8655 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008558/0.8161, allocations: 236.2 kB / 0.8657 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01253/0.8287, allocations: 4.674 MB / 0.8703 GB, free: 15.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-05/0.8288, allocations: 9.406 kB / 0.8703 GB, free: 15.79 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004147/0.8292, allocations: 105.2 kB / 0.8704 GB, free: 15.71 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002937/0.8295, allocations: 172.6 kB / 0.8706 GB, free: 15.67 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01602/0.8455, allocations: 5.114 MB / 0.8756 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02532/0.8709, allocations: 13.92 MB / 0.8892 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.8821, allocations: 3.575 MB / 0.8926 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003702/0.8859, allocations: 1.381 MB / 0.894 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.886, allocations: 29.28 kB / 0.894 GB, free: 9.195 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004157/0.8902, allocations: 1.704 MB / 0.8957 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=163): time 4.058e-06/0.8902, allocations: 0 / 0.8957 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of matching and sorting (n=250): time 0.1249/1.015, allocations: 27.4 MB / 0.9224 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002412/1.015, allocations: 0.4928 MB / 0.9229 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/1.019, allocations: 2.304 MB / 0.9252 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004106/1.019, allocations: 77.7 kB / 0.9253 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/1.021, allocations: 1.426 MB / 0.9266 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009031/1.021, allocations: 0.8201 MB / 0.9274 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008287/1.022, allocations: 420.4 kB / 0.9278 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.022, allocations: 301.1 kB / 0.9281 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004966/1.027, allocations: 1.759 MB / 0.9299 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005289/1.033, allocations: 2.04 MB / 0.9318 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/1.043, allocations: 3.845 MB / 0.9356 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/1.043, allocations: 3.938 kB / 0.9356 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01672/1.06, allocations: 5.809 MB / 0.9413 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/1.06, allocations: 144.5 kB / 0.9414 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.221e-05/1.06, allocations: 8 kB / 0.9414 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006583/1.066, allocations: 1.832 MB / 0.9432 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/1.07, allocations: 0.4914 MB / 0.9437 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/1.094, allocations: 15.41 MB / 0.9587 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/1.099, allocations: 304.8 kB / 0.959 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003748/1.099, allocations: 95.97 kB / 0.9591 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006212/1.105, allocations: 2.304 MB / 0.9614 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005017/1.11, allocations: 2.028 MB / 0.9633 GB, free: 1.051 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009687/1.12, allocations: 3.802 MB / 0.9671 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.129e-05/1.12, allocations: 7.938 kB / 0.9671 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01539/1.136, allocations: 5.642 MB / 0.9726 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.136, allocations: 148.5 kB / 0.9727 GB, free: 7.195 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.136, allocations: 8.344 kB / 0.9727 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005597/1.141, allocations: 1.681 MB / 0.9744 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/1.144, allocations: 0.5148 MB / 0.9749 GB, free: 4.98 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02203/1.167, allocations: 14.61 MB / 0.9891 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004579/1.171, allocations: 303.6 kB / 0.9894 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004711/1.172, allocations: 91.97 kB / 0.9895 GB, free: 5.703 MB / 0.7794 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.0006955/1.172, allocations: 330.2 kB / 0.9898 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000643/1.173, allocations: 328.1 kB / 0.9901 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/1.174, allocations: 392.1 kB / 0.9905 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/1.174, allocations: 11.95 kB / 0.9905 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.174, allocations: 4 kB / 0.9905 GB, free: 4.641 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.175, allocations: 0.6609 MB / 0.9912 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005408/1.176, allocations: 51.92 kB / 0.9912 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/1.179, allocations: 295.6 kB / 0.9915 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007945/1.18, allocations: 357.4 kB / 0.9918 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0174/1.197, allocations: 5.705 MB / 0.9974 GB, free: 13.55 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01524/1.212, allocations: 6.022 MB / 1.003 GB, free: 7.5 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004877/1.217, allocations: 1.955 MB / 1.005 GB, free: 5.543 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002331/1.22, allocations: 1.532 MB / 1.007 GB, free: 4.012 MB / 0.795 GB Notification: Performance of Backend: time 5.51e-07/1.22, allocations: 0 / 1.007 GB, free: 4.012 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02155/1.241, allocations: 8.142 MB / 1.015 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01296/1.254, allocations: 7.57 MB / 1.022 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of Templates: time 0.1404/1.395, allocations: 91.6 MB / 1.112 GB, free: 9.484 MB / 0.9044 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1)