Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 105.5 kB / 16.29 MB, free: 6.125 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.001868/0.001868, allocations: 181 kB / 17.22 MB, free: 5.734 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.651/1.651, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.808/1.808, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001401/0.001402, allocations: 67.55 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 114.5 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005135/0.2611, allocations: 3.065 MB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5065/0.7677, allocations: 1.322 MB / 0.7884 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.768, allocations: 9.312 kB / 0.7884 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009674/0.769, allocations: 334.6 kB / 0.7887 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003969/0.7694, allocations: 141.7 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.7698, allocations: 138.7 kB / 0.7889 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003011/0.7701, allocations: 307.3 kB / 0.7892 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.7705, allocations: 231.9 kB / 0.7895 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.7706, allocations: 126.3 kB / 0.7896 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.7709, allocations: 132.5 kB / 0.7897 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.7709, allocations: 18.53 kB / 0.7897 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.7712, allocations: 170.1 kB / 0.7899 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.744e-05/0.7713, allocations: 80.97 kB / 0.79 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.7714, allocations: 114.7 kB / 0.7901 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.7718, allocations: 338.9 kB / 0.7904 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.7718, allocations: 1.969 kB / 0.7904 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7718, allocations: 0 / 0.7904 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7718, allocations: 0 / 0.7904 GB, free: 45.84 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007391/0.7726, allocations: 0.5149 MB / 0.7909 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.7726, allocations: 10.5 kB / 0.7909 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005307/0.7732, allocations: 81.67 kB / 0.791 GB, free: 45.4 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.7734, allocations: 239.4 kB / 0.7912 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.7734, allocations: 14.25 kB / 0.7912 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.7735, allocations: 17.78 kB / 0.7912 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.7739, allocations: 301.2 kB / 0.7915 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.7739, allocations: 6.875 kB / 0.7915 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.7739, allocations: 11.91 kB / 0.7916 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.774, allocations: 17.31 kB / 0.7916 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.7742, allocations: 193.3 kB / 0.7918 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.7754, allocations: 1.455 MB / 0.7932 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.7756, allocations: 182.1 kB / 0.7933 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.7757, allocations: 36.28 kB / 0.7934 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.7757, allocations: 0 / 0.7934 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.7757, allocations: 35.34 kB / 0.7934 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.7757, allocations: 1 kB / 0.7934 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004211/0.7762, allocations: 236.4 kB / 0.7936 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.7762, allocations: 52.66 kB / 0.7937 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.7764, allocations: 197.9 kB / 0.7939 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.7764, allocations: 28.95 kB / 0.7939 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.7765, allocations: 162.6 kB / 0.7941 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.7765, allocations: 29.25 kB / 0.7941 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.7765, allocations: 36.69 kB / 0.7941 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.7766, allocations: 324.8 kB / 0.7944 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.591e-05/0.7767, allocations: 41.09 kB / 0.7945 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.7767, allocations: 99.19 kB / 0.7946 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.7769, allocations: 143.3 kB / 0.7947 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7769, allocations: 0 / 0.7947 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002486/0.7771, allocations: 198.9 kB / 0.7949 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.7772, allocations: 4.188 kB / 0.7949 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.7772, allocations: 3.5 kB / 0.7949 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001558/0.7773, allocations: 25.84 kB / 0.7949 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.68e-05/0.7774, allocations: 27.16 kB / 0.795 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007634/0.7782, allocations: 1.43 MB / 0.7964 GB, free: 41.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.7783, allocations: 19.09 kB / 0.7964 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.7783, allocations: 6.812 kB / 0.7964 GB, free: 41.35 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.874e-05/0.7785, allocations: 148.2 kB / 0.7965 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.7785, allocations: 18.41 kB / 0.7965 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.7785, allocations: 18.25 kB / 0.7966 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.7785, allocations: 3.312 kB / 0.7966 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.7785, allocations: 4.062 kB / 0.7966 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7785, allocations: 0 / 0.7966 GB, free: 41.22 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.7789, allocations: 444.1 kB / 0.797 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.779, allocations: 0 / 0.797 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.779, allocations: 14.06 kB / 0.797 GB, free: 40.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.381e-05/0.7791, allocations: 18.02 kB / 0.797 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.7791, allocations: 6 kB / 0.797 GB, free: 40.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006443/0.7797, allocations: 1.412 MB / 0.7984 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7797, allocations: 7.469 kB / 0.7984 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.7799, allocations: 210.2 kB / 0.7986 GB, free: 39.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.78, allocations: 103 kB / 0.7987 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.78, allocations: 3.469 kB / 0.7987 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.7801, allocations: 8.406 kB / 0.7987 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.866e-05/0.7801, allocations: 5.891 kB / 0.7987 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.7802, allocations: 7.5 kB / 0.7987 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001011/0.7803, allocations: 147.1 kB / 0.7989 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7803, allocations: 0 / 0.7989 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003004/0.7806, allocations: 55.19 kB / 0.7989 GB, free: 39.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.809e-05/0.7807, allocations: 95.73 kB / 0.799 GB, free: 39.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.781, allocations: 213 kB / 0.7992 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.781, allocations: 0 / 0.7992 GB, free: 39.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.7811, allocations: 147.7 kB / 0.7994 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.7815, allocations: 47.06 kB / 0.7994 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005305/0.782, allocations: 354.2 kB / 0.7997 GB, free: 38.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.7822, allocations: 0.7457 MB / 0.8005 GB, free: 38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.313e-05/0.7823, allocations: 26.38 kB / 0.8005 GB, free: 38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.7823, allocations: 14.38 kB / 0.8005 GB, free: 37.99 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.7823, allocations: 0 / 0.8005 GB, free: 37.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.004656/0.787, allocations: 1.74 MB / 0.8022 GB, free: 37.93 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)