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.0008026/0.0008025, allocations: 86.33 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.0009074/0.0009075, 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.464/1.464, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.649/1.649, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005073/0.0005074, allocations: 13 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2329, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02038/0.2534, allocations: 20.24 MB / 0.807 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02226/0.2757, allocations: 16.52 MB / 0.8232 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003354/0.2791, allocations: 99.44 kB / 0.8233 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.2809, allocations: 0.5579 MB / 0.8238 GB, free: 6.441 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009479/0.2904, allocations: 2.859 MB / 0.8266 GB, free: 3.578 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.2944, allocations: 0.9579 MB / 0.8275 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01014/0.3046, allocations: 5.769 MB / 0.8332 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003644/0.3083, allocations: 2.013 MB / 0.8351 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.3119, allocations: 1.871 MB / 0.837 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004328/0.3163, allocations: 2.168 MB / 0.8391 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.3174, allocations: 160 kB / 0.8392 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.3194, allocations: 499.4 kB / 0.8397 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.3204, allocations: 0.9264 MB / 0.8406 GB, free: 5.129 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.3218, allocations: 0.6834 MB / 0.8413 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005136/0.327, allocations: 3.826 MB / 0.845 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.327, allocations: 0 / 0.845 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.274e-06/0.327, allocations: 0 / 0.845 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001615/0.3272, allocations: 0 / 0.845 GB, free: 0.6016 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.00798/0.3352, allocations: 3.877 MB / 0.8488 GB, free: 12.61 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3352, allocations: 8.031 kB / 0.8488 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.3502, allocations: 3.366 MB / 0.8521 GB, free: 9.23 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005005/0.3553, allocations: 1.96 MB / 0.854 GB, free: 7.203 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.3555, allocations: 184.7 kB / 0.8542 GB, free: 7.02 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006254/0.3561, allocations: 232 kB / 0.8544 GB, free: 6.793 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.3669, allocations: 4.72 MB / 0.859 GB, free: 1.93 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/0.367, allocations: 7.938 kB / 0.859 GB, free: 1.922 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003328/0.3674, allocations: 99.98 kB / 0.8591 GB, free: 1.824 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002155/0.3676, allocations: 172.8 kB / 0.8593 GB, free: 1.652 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/0.3801, allocations: 5.226 MB / 0.8644 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02292/0.4031, allocations: 14.12 MB / 0.8782 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.4141, allocations: 3.847 MB / 0.8819 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00365/0.4178, allocations: 1.529 MB / 0.8834 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/0.418, allocations: 17.3 kB / 0.8834 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00408/0.4221, allocations: 1.826 MB / 0.8852 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=163): time 4.919e-06/0.4221, allocations: 0 / 0.8852 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of matching and sorting (n=250): time 0.111/0.5332, allocations: 33.38 MB / 0.9178 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002424/0.5334, allocations: 0.4928 MB / 0.9183 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/0.5373, allocations: 2.277 MB / 0.9205 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004488/0.5377, allocations: 77.7 kB / 0.9206 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.4081/0.9458, allocations: 1.423 MB / 0.922 GB, free: 127.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/0.9471, allocations: 0.8221 MB / 0.9228 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004166/0.9475, allocations: 46.72 kB / 0.9228 GB, free: 127.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002333/0.9478, allocations: 398.1 kB / 0.9232 GB, free: 127 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005479/0.9533, allocations: 1.919 MB / 0.9251 GB, free: 127 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/0.959, allocations: 2.228 MB / 0.9273 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004553/0.9636, allocations: 2.132 MB / 0.9294 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/0.9637, allocations: 0 / 0.9294 GB, free: 126.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01456/0.9782, allocations: 6.165 MB / 0.9354 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000215/0.9785, allocations: 410.5 kB / 0.9358 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.9785, allocations: 4.875 kB / 0.9358 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006416/0.9849, allocations: 1.85 MB / 0.9376 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/0.9878, allocations: 0.5833 MB / 0.9381 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/1.01, allocations: 14.15 MB / 0.952 GB, free: 115.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/1.014, allocations: 411.3 kB / 0.9524 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005212/1.014, allocations: 93.06 kB / 0.9524 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.014, allocations: 7.188 kB / 0.9525 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01369/1.028, allocations: 5.755 MB / 0.9581 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.028, allocations: 7.906 kB / 0.9581 GB, free: 113.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004195/1.032, allocations: 1.82 MB / 0.9599 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/1.035, allocations: 0.6064 MB / 0.9604 GB, free: 113.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01666/1.052, allocations: 13.44 MB / 0.9736 GB, free: 104.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/1.055, allocations: 397.3 kB / 0.974 GB, free: 104.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003986/1.055, allocations: 95 kB / 0.974 GB, free: 104.2 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 (172): * Single equations (assignments): 165 * 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 {10 52} Notification: Performance of prepare postOptimizeDAE: time 0.001744/1.057, allocations: 0.7748 MB / 0.9748 GB, free: 103.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007224/1.058, allocations: 335.1 kB / 0.9751 GB, free: 103.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008549/1.059, allocations: 396.1 kB / 0.9755 GB, free: 103 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/1.059, allocations: 24 kB / 0.9755 GB, free: 103 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-05/1.059, allocations: 11.28 kB / 0.9755 GB, free: 103 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/1.059, allocations: 19.34 kB / 0.9755 GB, free: 103 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/1.063, allocations: 3.163 MB / 0.9786 GB, free: 99.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/1.063, allocations: 0 / 0.9786 GB, free: 99.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/1.065, allocations: 0.515 MB / 0.9791 GB, free: 99.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004999/1.07, allocations: 1.709 MB / 0.9808 GB, free: 97.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/1.07, allocations: 55.91 kB / 0.9809 GB, free: 97.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/1.088, allocations: 13.94 MB / 0.9945 GB, free: 83.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.088, allocations: 0 / 0.9945 GB, free: 83.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01281/1.1, allocations: 5.777 MB / 1 GB, free: 77.52 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.102, allocations: 0.6648 MB / 1.001 GB, free: 76.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007596/1.103, allocations: 44 kB / 1.001 GB, free: 76.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/1.105, allocations: 403.6 kB / 1.001 GB, free: 76.39 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007518/1.106, allocations: 306.6 kB / 1.001 GB, free: 76.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001816/1.106, allocations: 69.56 kB / 1.002 GB, free: 76.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001934/1.108, allocations: 1.513 MB / 1.003 GB, free: 74.51 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.108, allocations: 0 / 1.003 GB, free: 74.51 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004114/1.112, allocations: 1.621 MB / 1.005 GB, free: 72.89 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 (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 52} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003176/1.113, allocations: 167.6 kB / 1.005 GB, free: 72.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01897/1.132, allocations: 10.08 MB / 1.015 GB, free: 62.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.132, allocations: 4.75 kB / 1.015 GB, free: 62.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007029/1.139, allocations: 3.496 MB / 1.018 GB, free: 58.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006135/1.145, allocations: 1.042 MB / 1.019 GB, free: 57.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/1.159, allocations: 7.564 MB / 1.026 GB, free: 50.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/1.161, allocations: 2.312 MB / 1.029 GB, free: 47.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003159/1.164, allocations: 0.6309 MB / 1.029 GB, free: 47.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/1.165, allocations: 179.4 kB / 1.029 GB, free: 47.18 MB / 0.7325 GB Notification: Performance of SimCode: time 6.62e-07/1.165, allocations: 0 / 1.029 GB, free: 47.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.1046/1.269, allocations: 74.08 MB / 1.102 GB, free: 6.027 MB / 0.7637 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: