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.00131/0.00131, allocations: 114.2 kB / 17.09 MB, free: 6.012 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.001291/0.001291, allocations: 193.8 kB / 18.02 MB, free: 5.094 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.327/1.327, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7189/0.7189, allocations: 115.3 MB / 407.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 69.31 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1689, allocations: 76.17 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.005092/0.1741, allocations: 3.062 MB / 0.6357 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1765, allocations: 1.324 MB / 0.637 GB, free: 20 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1767, allocations: 7.938 kB / 0.637 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1779, allocations: 342.7 kB / 0.6373 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.1783, allocations: 139.3 kB / 0.6375 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1787, allocations: 139.6 kB / 0.6376 GB, free: 15.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003419/0.179, allocations: 299.1 kB / 0.6379 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005024/0.1795, allocations: 236.2 kB / 0.6381 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1797, allocations: 135.5 kB / 0.6382 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.18, allocations: 139.5 kB / 0.6384 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.18, allocations: 16 kB / 0.6384 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.1804, allocations: 171.6 kB / 0.6385 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.269e-05/0.1805, allocations: 75.8 kB / 0.6386 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.1806, allocations: 107.5 kB / 0.6387 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.181, allocations: 342.9 kB / 0.639 GB, free: 13.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1811, allocations: 3.984 kB / 0.639 GB, free: 13.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1811, allocations: 0 / 0.639 GB, free: 13.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1811, allocations: 4 kB / 0.6391 GB, free: 13.9 MB / 494.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.001014/0.1821, allocations: 0.5108 MB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1822, allocations: 8.031 kB / 0.6396 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/0.1827, allocations: 80.58 kB / 0.6396 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.183, allocations: 246 kB / 0.6399 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1831, allocations: 20.75 kB / 0.6399 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.1831, allocations: 20.36 kB / 0.6399 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.1836, allocations: 295.2 kB / 0.6402 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1836, allocations: 0 / 0.6402 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.1836, allocations: 12 kB / 0.6402 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.1837, allocations: 16.36 kB / 0.6402 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.184, allocations: 200.9 kB / 0.6404 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001657/0.1857, allocations: 1.464 MB / 0.6418 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.1859, allocations: 175.7 kB / 0.642 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.186, allocations: 32.84 kB / 0.642 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.186, allocations: 0 / 0.642 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.1861, allocations: 34.56 kB / 0.6421 GB, free: 10.49 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1861, allocations: 4 kB / 0.6421 GB, free: 10.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005/0.1866, allocations: 223.4 kB / 0.6423 GB, free: 10.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1866, allocations: 51.41 kB / 0.6423 GB, free: 10.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.1868, allocations: 203.4 kB / 0.6425 GB, free: 9.973 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1869, allocations: 29.7 kB / 0.6426 GB, free: 9.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.187, allocations: 171.7 kB / 0.6427 GB, free: 9.766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.187, allocations: 23.66 kB / 0.6427 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.752e-05/0.1871, allocations: 33.7 kB / 0.6428 GB, free: 9.703 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1873, allocations: 330.8 kB / 0.6431 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.1874, allocations: 31.98 kB / 0.6431 GB, free: 9.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.1875, allocations: 108.4 kB / 0.6432 GB, free: 9.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.1877, allocations: 148.4 kB / 0.6434 GB, free: 9.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1877, allocations: 0 / 0.6434 GB, free: 9.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002976/0.188, allocations: 186.3 kB / 0.6435 GB, free: 8.836 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1881, allocations: 8 kB / 0.6436 GB, free: 8.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1881, allocations: 4 kB / 0.6436 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/0.1882, allocations: 24.84 kB / 0.6436 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1884, allocations: 31.86 kB / 0.6436 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.1896, allocations: 1.418 MB / 0.645 GB, free: 7.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1897, allocations: 19.88 kB / 0.645 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.1897, allocations: 4 kB / 0.645 GB, free: 7.184 MB / 494.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.0001808/0.1899, allocations: 161.8 kB / 0.6452 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.19, allocations: 11.81 kB / 0.6452 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.19, allocations: 21.39 kB / 0.6452 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.19, allocations: 4 kB / 0.6452 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.19, allocations: 0 / 0.6452 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.19, allocations: 0 / 0.6452 GB, free: 6.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005851/0.1906, allocations: 443.2 kB / 0.6456 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1906, allocations: 11.94 kB / 0.6456 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.1907, allocations: 4 kB / 0.6456 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.941e-05/0.1908, allocations: 24.84 kB / 0.6457 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.1908, allocations: 0 / 0.6457 GB, free: 6.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.1918, allocations: 1.414 MB / 0.6471 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1918, allocations: 0 / 0.6471 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1921, allocations: 212.7 kB / 0.6473 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1922, allocations: 100.9 kB / 0.6474 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1922, allocations: 0 / 0.6474 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1923, allocations: 8 kB / 0.6474 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.1923, allocations: 15.92 kB / 0.6474 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.1924, allocations: 0 / 0.6474 GB, free: 4.523 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.1926, allocations: 144.4 kB / 0.6475 GB, free: 4.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1926, allocations: 0 / 0.6475 GB, free: 4.383 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00035/0.1929, allocations: 55.84 kB / 0.6476 GB, free: 4.328 MB / 494.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.0001237/0.1931, allocations: 95.25 kB / 0.6477 GB, free: 4.223 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.1935, allocations: 218.6 kB / 0.6479 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1935, allocations: 192 / 0.6479 GB, free: 3.996 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.1937, allocations: 147.2 kB / 0.648 GB, free: 3.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1941, allocations: 33.48 kB / 0.648 GB, free: 3.809 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006929/0.1948, allocations: 394.9 kB / 0.6484 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.1951, allocations: 0.7514 MB / 0.6491 GB, free: 2.617 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/0.1952, allocations: 19.38 kB / 0.6492 GB, free: 2.598 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1952, allocations: 0 / 0.6492 GB, free: 2.598 MB / 494.1 MB Notification: Performance of Templates: time 0.005035/0.2002, allocations: 2.979 MB / 0.6521 GB, free: 15.62 MB / 0.4981 GB 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)