Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.001368/0.001368, allocations: 198.6 kB / 18.33 MB, free: 4.016 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.363/1.363, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7984/0.7984, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 67.45 kB / 0.5911 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1361, allocations: 83.26 MB / 0.6725 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00488/0.141, allocations: 3.093 MB / 0.6755 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003117/0.1441, allocations: 1.929 MB / 0.6774 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1443, allocations: 7.938 kB / 0.6774 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008816/0.1451, allocations: 286.9 kB / 0.6776 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004398/0.1456, allocations: 199.1 kB / 0.6778 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.1462, allocations: 242 kB / 0.6781 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.1466, allocations: 318.9 kB / 0.6784 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.1469, allocations: 152.9 kB / 0.6785 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.1472, allocations: 139.5 kB / 0.6786 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.1475, allocations: 167.3 kB / 0.6788 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.1475, allocations: 20 kB / 0.6788 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006572/0.1482, allocations: 415.2 kB / 0.6792 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.1483, allocations: 83.78 kB / 0.6793 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.1484, allocations: 119.4 kB / 0.6794 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006275/0.1491, allocations: 494.3 kB / 0.6799 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1491, allocations: 0 / 0.6799 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1491, allocations: 0 / 0.6799 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.1491, allocations: 0 / 0.6799 GB, free: 12.26 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009124/0.15, allocations: 0.5724 MB / 0.6804 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.15, allocations: 8.031 kB / 0.6804 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008232/0.1508, allocations: 108.7 kB / 0.6806 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.1512, allocations: 271.9 kB / 0.6808 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.1512, allocations: 12.81 kB / 0.6808 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.1513, allocations: 20.31 kB / 0.6808 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.1518, allocations: 357.3 kB / 0.6812 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1518, allocations: 0 / 0.6812 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.1519, allocations: 8 kB / 0.6812 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.122e-05/0.1519, allocations: 28.36 kB / 0.6812 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.1524, allocations: 293.5 kB / 0.6815 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.1548, allocations: 1.737 MB / 0.6832 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.1553, allocations: 322.1 kB / 0.6835 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1555, allocations: 106 kB / 0.6836 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.1556, allocations: 89.03 kB / 0.6837 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.1557, allocations: 42.44 kB / 0.6837 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1557, allocations: 0 / 0.6837 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23): time 0.002508/0.1582, allocations: 0.9654 MB / 0.6847 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/0.1582, allocations: 85.05 kB / 0.6848 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.1585, allocations: 219.7 kB / 0.685 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1585, allocations: 29.7 kB / 0.685 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1586, allocations: 168.5 kB / 0.6852 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.498e-05/0.1587, allocations: 87.3 kB / 0.6852 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.1588, allocations: 61.66 kB / 0.6853 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.159, allocations: 330.8 kB / 0.6856 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.1592, allocations: 131.9 kB / 0.6857 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.1595, allocations: 218.4 kB / 0.6859 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/0.16, allocations: 361.2 kB / 0.6863 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.16, allocations: 0 / 0.6863 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008744/0.1608, allocations: 0.5034 MB / 0.6868 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1609, allocations: 4.094 kB / 0.6868 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1609, allocations: 7.938 kB / 0.6868 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005146/0.1614, allocations: 155.4 kB / 0.6869 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.1616, allocations: 59.91 kB / 0.687 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.1652, allocations: 4.198 MB / 0.6911 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.1654, allocations: 19.92 kB / 0.6911 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.1654, allocations: 12 kB / 0.6911 GB, free: 15.88 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.1656, allocations: 173.6 kB / 0.6913 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.1657, allocations: 19.86 kB / 0.6913 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/0.1666, allocations: 470.6 kB / 0.6918 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1666, allocations: 4 kB / 0.6918 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.1666, allocations: 4 kB / 0.6918 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1666, allocations: 3.984 kB / 0.6918 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.1682, allocations: 1.004 MB / 0.6927 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1682, allocations: 4 kB / 0.6928 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.1683, allocations: 35.91 kB / 0.6928 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004085/0.1687, allocations: 135.3 kB / 0.6929 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.1688, allocations: 12.19 kB / 0.6929 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.1721, allocations: 4.155 MB / 0.697 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1721, allocations: 4.031 kB / 0.697 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008812/0.173, allocations: 0.626 MB / 0.6976 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.1731, allocations: 124.9 kB / 0.6977 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.1731, allocations: 15.92 kB / 0.6977 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.1734, allocations: 15.98 kB / 0.6978 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/0.1734, allocations: 27.97 kB / 0.6978 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1734, allocations: 8 kB / 0.6978 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001539/0.1736, allocations: 153.5 kB / 0.6979 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1736, allocations: 0 / 0.6979 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005337/0.1741, allocations: 95.86 kB / 0.698 GB, free: 8.273 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002165/0.1743, allocations: 143.1 kB / 0.6982 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009915/0.1753, allocations: 0.5581 MB / 0.6987 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1753, allocations: 0.625 kB / 0.6987 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005524/0.1759, allocations: 393.2 kB / 0.6991 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.1764, allocations: 50.14 kB / 0.6991 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.1775, allocations: 0.6386 MB / 0.6998 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.1779, allocations: 0.7753 MB / 0.7005 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.1781, allocations: 58.23 kB / 0.7006 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.1782, allocations: 23.44 kB / 0.7006 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1782, allocations: 0 / 0.7006 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of Templates: time 0.008846/0.187, allocations: 4.322 MB / 0.7048 GB, free: 1.215 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480]