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.001286/0.001286, allocations: 97.2 kB / 15.69 MB, free: 480 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.001708/0.001708, allocations: 174.4 kB / 16.57 MB, free: 6.398 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.38/1.38, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6855/0.6855, allocations: 113.8 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003361, allocations: 11.98 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.003253/0.1801, allocations: 2.572 MB / 0.5594 GB, free: 9.059 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.1819, allocations: 1.216 MB / 0.5605 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.182, allocations: 11.88 kB / 0.5606 GB, free: 7.824 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1822, allocations: 35.77 kB / 0.5606 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.1825, allocations: 95.73 kB / 0.5607 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.1828, allocations: 103.7 kB / 0.5608 GB, free: 7.594 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1831, allocations: 167.6 kB / 0.5609 GB, free: 7.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.1834, allocations: 207.5 kB / 0.5611 GB, free: 7.215 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1835, allocations: 91.67 kB / 0.5612 GB, free: 7.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.1837, allocations: 87.67 kB / 0.5613 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.1838, allocations: 12 kB / 0.5613 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.184, allocations: 87.81 kB / 0.5614 GB, free: 6.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.184, allocations: 63.81 kB / 0.5615 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.1841, allocations: 57.64 kB / 0.5615 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1844, allocations: 247.6 kB / 0.5618 GB, free: 6.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1844, allocations: 3.938 kB / 0.5618 GB, free: 6.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1844, allocations: 0 / 0.5618 GB, free: 6.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1844, allocations: 4 kB / 0.5618 GB, free: 6.566 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.0006885/0.1851, allocations: 486.9 kB / 0.5622 GB, free: 6.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1851, allocations: 12.02 kB / 0.5622 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005902/0.1857, allocations: 91.62 kB / 0.5623 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.186, allocations: 232.3 kB / 0.5625 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1861, allocations: 16.36 kB / 0.5626 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.1861, allocations: 19.98 kB / 0.5626 GB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.1865, allocations: 298.9 kB / 0.5629 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1865, allocations: 4 kB / 0.5629 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1866, allocations: 4 kB / 0.5629 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/0.1866, allocations: 24.36 kB / 0.5629 GB, free: 5.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.187, allocations: 192.9 kB / 0.5631 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.1885, allocations: 1.464 MB / 0.5645 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.1887, allocations: 179.7 kB / 0.5647 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1888, allocations: 4.031 kB / 0.5647 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1888, allocations: 38.52 kB / 0.5647 GB, free: 3.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.1888, allocations: 0 / 0.5647 GB, free: 3.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004597/0.1893, allocations: 219.5 kB / 0.5649 GB, free: 2.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1893, allocations: 55.56 kB / 0.565 GB, free: 2.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.1895, allocations: 202.3 kB / 0.5652 GB, free: 2.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1895, allocations: 29.7 kB / 0.5652 GB, free: 2.672 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1897, allocations: 167.6 kB / 0.5654 GB, free: 2.504 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.1897, allocations: 23.66 kB / 0.5654 GB, free: 2.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.1897, allocations: 0 / 0.5654 GB, free: 2.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1898, allocations: 326.8 kB / 0.5657 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.249e-05/0.1899, allocations: 35.97 kB / 0.5657 GB, free: 2.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.19, allocations: 102.2 kB / 0.5658 GB, free: 1.988 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.517e-05/0.1901, allocations: 59.92 kB / 0.5659 GB, free: 1.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1901, allocations: 0 / 0.5659 GB, free: 1.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003006/0.1904, allocations: 190 kB / 0.5661 GB, free: 1.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1904, allocations: 8 kB / 0.5661 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1904, allocations: 0 / 0.5661 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.1906, allocations: 33.11 kB / 0.5661 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.1907, allocations: 27.94 kB / 0.5661 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.1918, allocations: 1.323 MB / 0.5674 GB, free: 208 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.1919, allocations: 15.88 kB / 0.5674 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.192, allocations: 8 kB / 0.5675 GB, free: 184 kB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.1921, allocations: 149.7 kB / 0.5676 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.1921, allocations: 15.81 kB / 0.5676 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.1922, allocations: 17.45 kB / 0.5676 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1922, allocations: 192 / 0.5676 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1922, allocations: 8 kB / 0.5676 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1922, allocations: 0 / 0.5676 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005085/0.1927, allocations: 447.1 kB / 0.5681 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1927, allocations: 0 / 0.5681 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.1928, allocations: 11.98 kB / 0.5681 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.557e-05/0.1929, allocations: 20.84 kB / 0.5681 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1929, allocations: 0 / 0.5681 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008437/0.1937, allocations: 1.319 MB / 0.5694 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1938, allocations: 4.203 kB / 0.5694 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002038/0.194, allocations: 216.2 kB / 0.5696 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.194, allocations: 93 kB / 0.5697 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1941, allocations: 4 kB / 0.5697 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1942, allocations: 7.953 kB / 0.5697 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.1942, allocations: 7.984 kB / 0.5697 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1942, allocations: 4.094 kB / 0.5697 GB, free: 13.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1943, allocations: 150.1 kB / 0.5698 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1943, allocations: 0 / 0.5698 GB, free: 13.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1947, allocations: 55.84 kB / 0.5699 GB, free: 13.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000115/0.1948, allocations: 91.94 kB / 0.57 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.1951, allocations: 218.9 kB / 0.5702 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1951, allocations: 0 / 0.5702 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1953, allocations: 150.6 kB / 0.5703 GB, free: 12.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1955, allocations: 27.11 kB / 0.5704 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.1961, allocations: 435.5 kB / 0.5708 GB, free: 12.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1965, allocations: 0.7478 MB / 0.5715 GB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.88e-05/0.1966, allocations: 25.53 kB / 0.5715 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.1966, allocations: 15.44 kB / 0.5715 GB, free: 11.66 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1966, allocations: 0 / 0.5715 GB, free: 11.66 MB / 446.1 MB Notification: Performance of Templates: time 0.004226/0.2008, allocations: 1.626 MB / 0.5731 GB, free: 10.07 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)