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.0007987/0.0007986, allocations: 91.3 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.005302/0.005302, allocations: 171.7 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.652/1.652, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.822/1.822, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0006139/0.000614, allocations: 14.81 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.253, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02498/0.2781, allocations: 21.49 MB / 0.8089 GB, free: 6 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02666/0.3048, allocations: 17.48 MB / 0.8259 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003966/0.3088, allocations: 107.3 kB / 0.826 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.3116, allocations: 0.5775 MB / 0.8266 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.3231, allocations: 3.207 MB / 0.8297 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.3276, allocations: 1.184 MB / 0.8309 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009986/0.3376, allocations: 6.861 MB / 0.8376 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005591/0.3432, allocations: 2.499 MB / 0.84 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00453/0.3478, allocations: 1.945 MB / 0.8419 GB, free: 3.961 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005022/0.3528, allocations: 2.249 MB / 0.8441 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001455/0.3543, allocations: 167.9 kB / 0.8443 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003306/0.3576, allocations: 1.045 MB / 0.8453 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001748/0.3594, allocations: 0.9419 MB / 0.8462 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003784/0.3632, allocations: 1.75 MB / 0.8479 GB, free: 13.78 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008706/0.3719, allocations: 4.834 MB / 0.8527 GB, free: 8.93 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.372, allocations: 0 / 0.8527 GB, free: 8.93 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.814e-06/0.372, allocations: 0 / 0.8527 GB, free: 8.93 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002168/0.3722, allocations: 4 kB / 0.8527 GB, free: 8.926 MB / 0.67 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.009629/0.3818, allocations: 3.834 MB / 0.8564 GB, free: 4.98 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.3819, allocations: 12.03 kB / 0.8564 GB, free: 4.969 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/0.399, allocations: 3.363 MB / 0.8597 GB, free: 1.598 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004633/0.4037, allocations: 2.06 MB / 0.8617 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.4039, allocations: 181 kB / 0.8619 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008753/0.4048, allocations: 236.1 kB / 0.8621 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.4174, allocations: 4.744 MB / 0.8667 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.4175, allocations: 0 / 0.8667 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004582/0.418, allocations: 107.9 kB / 0.8668 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/0.4182, allocations: 172.8 kB / 0.867 GB, free: 9.895 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/0.4325, allocations: 5.237 MB / 0.8721 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.4554, allocations: 14.14 MB / 0.8859 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.4667, allocations: 3.853 MB / 0.8897 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00374/0.4705, allocations: 1.51 MB / 0.8912 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.4706, allocations: 37.22 kB / 0.8912 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004175/0.4748, allocations: 1.829 MB / 0.893 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=163): time 3.216e-06/0.4748, allocations: 0 / 0.893 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of matching and sorting (n=250): time 0.6412/1.116, allocations: 33.41 MB / 0.9256 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/1.116, allocations: 0.491 MB / 0.9261 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004253/1.12, allocations: 2.296 MB / 0.9283 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004865/1.121, allocations: 80.36 kB / 0.9284 GB, free: 125.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/1.122, allocations: 1.438 MB / 0.9298 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008323/1.123, allocations: 0.8191 MB / 0.9306 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/1.123, allocations: 188.6 kB / 0.9308 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.566e-05/1.123, allocations: 301.6 kB / 0.9311 GB, free: 123.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005372/1.129, allocations: 1.928 MB / 0.933 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005174/1.134, allocations: 2.233 MB / 0.9352 GB, free: 122.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.144, allocations: 4.208 MB / 0.9393 GB, free: 121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/1.145, allocations: 3.312 kB / 0.9393 GB, free: 121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01779/1.162, allocations: 6.202 MB / 0.9453 GB, free: 118.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/1.162, allocations: 411 kB / 0.9457 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/1.163, allocations: 4.906 kB / 0.9457 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006191/1.169, allocations: 1.854 MB / 0.9475 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/1.172, allocations: 0.5923 MB / 0.9481 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01986/1.192, allocations: 14.18 MB / 0.962 GB, free: 110.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/1.195, allocations: 404 kB / 0.9623 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002592/1.196, allocations: 90.97 kB / 0.9624 GB, free: 110 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/1.196, allocations: 3.969 kB / 0.9624 GB, free: 110 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01332/1.209, allocations: 5.785 MB / 0.9681 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/1.209, allocations: 7.625 kB / 0.9681 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004865/1.214, allocations: 1.826 MB / 0.9699 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/1.217, allocations: 0.6044 MB / 0.9705 GB, free: 106.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/1.234, allocations: 13.47 MB / 0.9836 GB, free: 94.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/1.238, allocations: 399.5 kB / 0.984 GB, free: 93.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002398/1.239, allocations: 91.97 kB / 0.9841 GB, free: 93.61 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 (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.001489/1.24, allocations: 0.7871 MB / 0.9849 GB, free: 92.81 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000486/1.241, allocations: 328.1 kB / 0.9852 GB, free: 92.49 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007134/1.241, allocations: 399.6 kB / 0.9855 GB, free: 92.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.241, allocations: 20 kB / 0.9856 GB, free: 92.07 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.637e-05/1.241, allocations: 15.94 kB / 0.9856 GB, free: 92.06 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/1.241, allocations: 11.95 kB / 0.9856 GB, free: 92.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/1.245, allocations: 3.167 MB / 0.9887 GB, free: 88.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/1.245, allocations: 0 / 0.9887 GB, free: 88.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002442/1.247, allocations: 0.5199 MB / 0.9892 GB, free: 88.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0053/1.252, allocations: 1.716 MB / 0.9909 GB, free: 86.66 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/1.253, allocations: 47.97 kB / 0.9909 GB, free: 86.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01677/1.269, allocations: 13.97 MB / 1.005 GB, free: 72.37 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.269, allocations: 0 / 1.005 GB, free: 72.37 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.283, allocations: 5.819 MB / 1.01 GB, free: 66.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.284, allocations: 0.6571 MB / 1.011 GB, free: 65.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/1.285, allocations: 48 kB / 1.011 GB, free: 65.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002738/1.287, allocations: 407.4 kB / 1.011 GB, free: 65.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008654/1.288, allocations: 294.7 kB / 1.012 GB, free: 65.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/1.288, allocations: 71.97 kB / 1.012 GB, free: 65.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001737/1.29, allocations: 1.528 MB / 1.013 GB, free: 63.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/1.29, allocations: 0 / 1.013 GB, free: 63.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003607/1.294, allocations: 1.625 MB / 1.015 GB, free: 61.88 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 (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.0003237/1.294, allocations: 167.9 kB / 1.015 GB, free: 61.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02049/1.315, allocations: 10.09 MB / 1.025 GB, free: 51.43 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.315, allocations: 4 kB / 1.025 GB, free: 51.43 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00766/1.322, allocations: 3.508 MB / 1.028 GB, free: 47.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005432/1.328, allocations: 1.046 MB / 1.029 GB, free: 46.89 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/1.341, allocations: 7.96 MB / 1.037 GB, free: 38.91 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/1.343, allocations: 2.305 MB / 1.039 GB, free: 36.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003141/1.346, allocations: 0.6348 MB / 1.04 GB, free: 35.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006378/1.346, allocations: 179.4 kB / 1.04 GB, free: 35.76 MB / 0.7325 GB Notification: Performance of SimCode: time 1.293e-06/1.346, allocations: 0 / 1.04 GB, free: 35.76 MB / 0.7325 GB Notification: Performance of Templates: time 0.114/1.46, allocations: 76.13 MB / 1.114 GB, free: 8.539 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: