Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.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.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") translateModel(IBPSA.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 110.5 kB / 16.41 MB, free: 6.039 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.001163/0.001163, allocations: 192 kB / 17.34 MB, free: 5.629 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.357/1.357, allocations: 222.9 MB / 241 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.8139/0.8139, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 64.47 kB / 0.5685 GB, free: 28.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1635, allocations: 77.94 MB / 0.6446 GB, free: 8.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.Resistor): time 0.005328/0.1688, allocations: 3.816 MB / 0.6483 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.1715, allocations: 1.733 MB / 0.65 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1717, allocations: 8 kB / 0.65 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.1731, allocations: 0.4902 MB / 0.6505 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004982/0.1736, allocations: 218.9 kB / 0.6507 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.1741, allocations: 213.5 kB / 0.6509 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004795/0.1746, allocations: 470.4 kB / 0.6513 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.1752, allocations: 361.1 kB / 0.6517 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.1754, allocations: 199.2 kB / 0.6519 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.1758, allocations: 211.2 kB / 0.6521 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.881e-05/0.1758, allocations: 28 kB / 0.6521 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.1762, allocations: 247.4 kB / 0.6523 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.1763, allocations: 131.7 kB / 0.6525 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.1765, allocations: 171.2 kB / 0.6526 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.1771, allocations: 0.5059 MB / 0.6531 GB, free: 84 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1771, allocations: 0 / 0.6531 GB, free: 84 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1771, allocations: 0 / 0.6531 GB, free: 84 kB / 494.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1771, allocations: 0 / 0.6531 GB, free: 84 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009705/0.1781, allocations: 0.6445 MB / 0.6538 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1782, allocations: 16.56 kB / 0.6538 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008774/0.1791, allocations: 132.6 kB / 0.6539 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.1794, allocations: 299.8 kB / 0.6542 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.1795, allocations: 25.03 kB / 0.6542 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.1795, allocations: 28.38 kB / 0.6542 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.1802, allocations: 463.9 kB / 0.6547 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1802, allocations: 0 / 0.6547 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.1802, allocations: 12 kB / 0.6547 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/0.1803, allocations: 32.55 kB / 0.6547 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005014/0.1808, allocations: 321.9 kB / 0.655 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.1829, allocations: 2.189 MB / 0.6572 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.1832, allocations: 259.7 kB / 0.6574 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.1835, allocations: 104.8 kB / 0.6575 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.1835, allocations: 0 / 0.6575 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1835, allocations: 34.55 kB / 0.6575 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.1836, allocations: 0 / 0.6575 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0005783/0.1841, allocations: 303.7 kB / 0.6578 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.1842, allocations: 59.34 kB / 0.6579 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.1845, allocations: 266.6 kB / 0.6581 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1845, allocations: 29.7 kB / 0.6582 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.1846, allocations: 204.3 kB / 0.6584 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1847, allocations: 55.53 kB / 0.6584 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.1847, allocations: 49.89 kB / 0.6585 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1849, allocations: 338.8 kB / 0.6588 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.205e-05/0.1849, allocations: 56.44 kB / 0.6588 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1851, allocations: 141.5 kB / 0.659 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1854, allocations: 221.3 kB / 0.6592 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1854, allocations: 4 kB / 0.6592 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003962/0.1858, allocations: 266.2 kB / 0.6594 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1858, allocations: 8 kB / 0.6595 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1858, allocations: 3.938 kB / 0.6595 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001621/0.186, allocations: 28.83 kB / 0.6595 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.1862, allocations: 47.92 kB / 0.6595 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.1872, allocations: 1.422 MB / 0.6609 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1873, allocations: 27.78 kB / 0.6609 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.1874, allocations: 8.156 kB / 0.661 GB, free: 7.379 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (27): * Single equations (assignments): 26 * 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.000152/0.1875, allocations: 176.2 kB / 0.6611 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.1876, allocations: 23.86 kB / 0.6611 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.1876, allocations: 29.83 kB / 0.6612 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1876, allocations: 0 / 0.6612 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1876, allocations: 0 / 0.6612 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1876, allocations: 0 / 0.6612 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008373/0.1885, allocations: 0.7102 MB / 0.6619 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.1885, allocations: 4 kB / 0.6619 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/0.1886, allocations: 20.17 kB / 0.6619 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.931e-05/0.1887, allocations: 32.97 kB / 0.6619 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1887, allocations: 11.94 kB / 0.6619 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008861/0.1896, allocations: 1.418 MB / 0.6633 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1896, allocations: 0 / 0.6633 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.1899, allocations: 319.7 kB / 0.6636 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.063e-05/0.19, allocations: 116.9 kB / 0.6637 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1901, allocations: 4 kB / 0.6637 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.1902, allocations: 12 kB / 0.6638 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.1903, allocations: 19.86 kB / 0.6638 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1903, allocations: 16 kB / 0.6638 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001654/0.1905, allocations: 190 kB / 0.664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1905, allocations: 0 / 0.664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00038/0.1909, allocations: 79.78 kB / 0.664 GB, free: 3.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 13 * 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.0001241/0.191, allocations: 103.2 kB / 0.6641 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.1914, allocations: 278.4 kB / 0.6644 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1915, allocations: 0 / 0.6644 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.1917, allocations: 179.7 kB / 0.6646 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.1921, allocations: 70.03 kB / 0.6646 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.193, allocations: 0.5429 MB / 0.6652 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1933, allocations: 0.7947 MB / 0.666 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.1935, allocations: 46.27 kB / 0.666 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.1935, allocations: 19.44 kB / 0.666 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1935, allocations: 0 / 0.666 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of Templates: time 0.005789/0.1993, allocations: 2.724 MB / 0.6687 GB, free: 15.11 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)