Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009026/0.0009031, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 182.3 kB / 16.92 MB, free: 6.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7112/0.7112, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.000352, allocations: 8.562 kB / 495.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1787, allocations: 77.54 MB / 0.56 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.003454/0.1822, allocations: 2.747 MB / 0.5626 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1843, allocations: 1.29 MB / 0.5639 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1845, allocations: 7.938 kB / 0.5639 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.1846, allocations: 35.72 kB / 0.5639 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.185, allocations: 139.4 kB / 0.5641 GB, free: 4.746 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1854, allocations: 127.7 kB / 0.5642 GB, free: 4.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004204/0.1858, allocations: 434.8 kB / 0.5646 GB, free: 4.195 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.1861, allocations: 229.7 kB / 0.5648 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.1862, allocations: 99.56 kB / 0.5649 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.1865, allocations: 135.5 kB / 0.5651 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.1866, allocations: 8 kB / 0.5651 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003212/0.1869, allocations: 207.6 kB / 0.5653 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.373e-05/0.187, allocations: 71.8 kB / 0.5653 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1871, allocations: 121.2 kB / 0.5654 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.1875, allocations: 338.8 kB / 0.5658 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1875, allocations: 3.984 kB / 0.5658 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1875, allocations: 3.938 kB / 0.5658 GB, free: 2.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.1875, allocations: 3.938 kB / 0.5658 GB, free: 2.977 MB / 430.1 MB 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.0007314/0.1882, allocations: 483.1 kB / 0.5662 GB, free: 2.453 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1883, allocations: 12.03 kB / 0.5663 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005863/0.1889, allocations: 80.67 kB / 0.5663 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.1892, allocations: 241.7 kB / 0.5666 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.1892, allocations: 16.73 kB / 0.5666 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.1892, allocations: 16.38 kB / 0.5666 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.1897, allocations: 303.3 kB / 0.5669 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1897, allocations: 4 kB / 0.5669 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.1897, allocations: 4 kB / 0.5669 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.1898, allocations: 20.34 kB / 0.5669 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.1901, allocations: 197 kB / 0.5671 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.1915, allocations: 1.471 MB / 0.5685 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.1917, allocations: 179.7 kB / 0.5687 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.1918, allocations: 32.84 kB / 0.5687 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.1918, allocations: 4 kB / 0.5687 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1919, allocations: 34.56 kB / 0.5688 GB, free: 15.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.1919, allocations: 0 / 0.5688 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.000448/0.1923, allocations: 223.6 kB / 0.569 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1924, allocations: 55.34 kB / 0.569 GB, free: 15.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1926, allocations: 206.3 kB / 0.5692 GB, free: 15.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.1926, allocations: 29.7 kB / 0.5693 GB, free: 15.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1927, allocations: 159.6 kB / 0.5694 GB, free: 14.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.1927, allocations: 27.64 kB / 0.5694 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.1928, allocations: 17.72 kB / 0.5695 GB, free: 14.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1929, allocations: 334.8 kB / 0.5698 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.81e-05/0.1929, allocations: 27.98 kB / 0.5698 GB, free: 14.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.193, allocations: 110.4 kB / 0.5699 GB, free: 14.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.1932, allocations: 144.5 kB / 0.57 GB, free: 14.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1932, allocations: 0 / 0.57 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002937/0.1935, allocations: 194 kB / 0.5702 GB, free: 13.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1936, allocations: 8 kB / 0.5702 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.1936, allocations: 0 / 0.5702 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.1937, allocations: 32.83 kB / 0.5703 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.1938, allocations: 23.94 kB / 0.5703 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009703/0.1948, allocations: 1.323 MB / 0.5716 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.1949, allocations: 15.84 kB / 0.5716 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.195, allocations: 8 kB / 0.5716 GB, free: 12.41 MB / 446.1 MB 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 0.0001259/0.1951, allocations: 146 kB / 0.5717 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.1951, allocations: 19.75 kB / 0.5718 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.1952, allocations: 25.33 kB / 0.5718 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1952, allocations: 0 / 0.5718 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1952, allocations: 0 / 0.5718 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1952, allocations: 0 / 0.5718 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004712/0.1957, allocations: 455.3 kB / 0.5722 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1957, allocations: 0 / 0.5722 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.1957, allocations: 7.938 kB / 0.5722 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.218e-05/0.1958, allocations: 24.84 kB / 0.5723 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.1958, allocations: 0 / 0.5723 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008332/0.1967, allocations: 1.311 MB / 0.5735 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1967, allocations: 3.938 kB / 0.5735 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.1969, allocations: 208.7 kB / 0.5737 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.197, allocations: 101 kB / 0.5738 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.197, allocations: 7.938 kB / 0.5738 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.1971, allocations: 7.984 kB / 0.5739 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.1971, allocations: 3.938 kB / 0.5739 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.894e-06/0.1972, allocations: 4 kB / 0.5739 GB, free: 9.867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1973, allocations: 142.5 kB / 0.574 GB, free: 9.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.1973, allocations: 4 kB / 0.574 GB, free: 9.727 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.1976, allocations: 55.78 kB / 0.5741 GB, free: 9.672 MB / 446.1 MB 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 0.0001027/0.1977, allocations: 95.25 kB / 0.5741 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003432/0.1981, allocations: 218.5 kB / 0.5744 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1981, allocations: 0 / 0.5744 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1982, allocations: 143.2 kB / 0.5745 GB, free: 9.188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1986, allocations: 44.19 kB / 0.5745 GB, free: 9.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.1992, allocations: 435.7 kB / 0.5749 GB, free: 8.695 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1995, allocations: 0.7556 MB / 0.5757 GB, free: 7.914 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.445e-05/0.1996, allocations: 25.53 kB / 0.5757 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.1997, allocations: 15.44 kB / 0.5757 GB, free: 7.871 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1997, allocations: 0 / 0.5757 GB, free: 7.871 MB / 446.1 MB Notification: Performance of Templates: time 0.004569/0.2043, allocations: 1.666 MB / 0.5774 GB, free: 6.23 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)