Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.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.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IBPSA.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007841/0.0007841, allocations: 93.66 kB / 16.02 MB, free: 84 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.001033/0.001033, allocations: 178.9 kB / 16.92 MB, free: 6.684 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.548/1.548, allocations: 223.2 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 11.98 kB / 495.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1504, allocations: 77.53 MB / 0.56 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sources.Examples.VoltageSource): time 0.003981/0.1544, allocations: 2.876 MB / 0.5628 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.1569, allocations: 1.348 MB / 0.5641 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.157, allocations: 4 kB / 0.5641 GB, free: 4.797 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.1572, allocations: 43.64 kB / 0.5641 GB, free: 4.754 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.1576, allocations: 131.4 kB / 0.5642 GB, free: 4.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.158, allocations: 146.8 kB / 0.5644 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004326/0.1585, allocations: 458.7 kB / 0.5648 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003225/0.1588, allocations: 245.1 kB / 0.5651 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001614/0.159, allocations: 111.6 kB / 0.5652 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.1592, allocations: 143.5 kB / 0.5653 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1593, allocations: 15.94 kB / 0.5653 GB, free: 3.508 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.1596, allocations: 203.6 kB / 0.5655 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.1597, allocations: 79.72 kB / 0.5656 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1598, allocations: 129.1 kB / 0.5657 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003633/0.1602, allocations: 354.8 kB / 0.566 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1602, allocations: 0 / 0.566 GB, free: 2.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1602, allocations: 3.938 kB / 0.5661 GB, free: 2.746 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1602, allocations: 0 / 0.5661 GB, free: 2.746 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007328/0.1609, allocations: 0.4991 MB / 0.5665 GB, free: 2.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.161, allocations: 8.031 kB / 0.5665 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005536/0.1615, allocations: 88.48 kB / 0.5666 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.1618, allocations: 251.9 kB / 0.5669 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.1619, allocations: 12.81 kB / 0.5669 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1619, allocations: 28.25 kB / 0.5669 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.1624, allocations: 312.7 kB / 0.5672 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1625, allocations: 4 kB / 0.5672 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.142e-05/0.1625, allocations: 12 kB / 0.5672 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.732e-05/0.1625, allocations: 20.36 kB / 0.5672 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.1629, allocations: 213.6 kB / 0.5674 GB, free: 1.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.1645, allocations: 1.49 MB / 0.5689 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004311/0.165, allocations: 211.7 kB / 0.5691 GB, free: 15.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.72e-05/0.1651, allocations: 44.83 kB / 0.5691 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1651, allocations: 11.97 kB / 0.5692 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.1652, allocations: 34.5 kB / 0.5692 GB, free: 15.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.674e-06/0.1652, allocations: 4 kB / 0.5692 GB, free: 15.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005726/0.1658, allocations: 263.4 kB / 0.5694 GB, free: 14.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.1658, allocations: 55.39 kB / 0.5695 GB, free: 14.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.166, allocations: 212.3 kB / 0.5697 GB, free: 14.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.166, allocations: 29.7 kB / 0.5697 GB, free: 14.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.1661, allocations: 175.7 kB / 0.5699 GB, free: 14.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1662, allocations: 35.48 kB / 0.5699 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.1662, allocations: 21.7 kB / 0.57 GB, free: 14.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1663, allocations: 330.8 kB / 0.5703 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.1664, allocations: 47.97 kB / 0.5703 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1666, allocations: 111 kB / 0.5704 GB, free: 13.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.1668, allocations: 172.4 kB / 0.5706 GB, free: 13.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1668, allocations: 4 kB / 0.5706 GB, free: 13.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003682/0.1672, allocations: 210 kB / 0.5708 GB, free: 13.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1672, allocations: 8.094 kB / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1672, allocations: 4.219 kB / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.1674, allocations: 36.78 kB / 0.5708 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1676, allocations: 35.92 kB / 0.5709 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.1686, allocations: 1.331 MB / 0.5722 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1688, allocations: 19.75 kB / 0.5722 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.1688, allocations: 8 kB / 0.5722 GB, free: 11.87 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 (18): * 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: 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.0001402/0.1689, allocations: 141.8 kB / 0.5723 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.169, allocations: 27.83 kB / 0.5724 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.169, allocations: 25.41 kB / 0.5724 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1691, allocations: 0 / 0.5724 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1691, allocations: 0 / 0.5724 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1691, allocations: 0 / 0.5724 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.1697, allocations: 491.2 kB / 0.5729 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1697, allocations: 0 / 0.5729 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.1698, allocations: 12 kB / 0.5729 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-05/0.1699, allocations: 24.84 kB / 0.5729 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1699, allocations: 0 / 0.5729 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009017/0.1708, allocations: 1.335 MB / 0.5742 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1708, allocations: 0 / 0.5742 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1711, allocations: 244.3 kB / 0.5744 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.1712, allocations: 104.8 kB / 0.5745 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1712, allocations: 0 / 0.5745 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.1713, allocations: 8 kB / 0.5745 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1714, allocations: 7.984 kB / 0.5745 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.1714, allocations: 0 / 0.5745 GB, free: 9.227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1715, allocations: 144.2 kB / 0.5747 GB, free: 9.086 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1715, allocations: 3.938 kB / 0.5747 GB, free: 9.082 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.1719, allocations: 63.75 kB / 0.5747 GB, free: 9.02 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 (7): * Single equations (assignments): 6 * 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 9.476e-05/0.172, allocations: 101.5 kB / 0.5748 GB, free: 8.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004141/0.1724, allocations: 230.9 kB / 0.5751 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1724, allocations: 4.188 kB / 0.5751 GB, free: 8.668 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002061/0.1726, allocations: 166.6 kB / 0.5752 GB, free: 8.492 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.173, allocations: 36.17 kB / 0.5753 GB, free: 8.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006656/0.1737, allocations: 0.4964 MB / 0.5757 GB, free: 7.938 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.174, allocations: 0.7557 MB / 0.5765 GB, free: 7.156 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.1741, allocations: 25.53 kB / 0.5765 GB, free: 7.133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.1741, allocations: 23.42 kB / 0.5765 GB, free: 7.113 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1741, allocations: 0 / 0.5765 GB, free: 7.113 MB / 446.1 MB Notification: Performance of Templates: time 0.004549/0.1787, allocations: 1.804 MB / 0.5783 GB, free: 5.332 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)