Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001414/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001682/0.001682, allocations: 190.8 kB / 16.14 MB, free: 6.707 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 290.2 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9347/0.9347, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 89.67 kB / 0.5945 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1557, allocations: 86.99 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.004305/0.1601, allocations: 3.24 MB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.162, allocations: 1.379 MB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.1622, allocations: 4 kB / 0.684 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008662/0.1631, allocations: 319 kB / 0.6843 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.1634, allocations: 139.4 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.1637, allocations: 131.7 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003828/0.1641, allocations: 466.7 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002878/0.1644, allocations: 171.8 kB / 0.6851 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.1645, allocations: 119.5 kB / 0.6852 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.1648, allocations: 155.4 kB / 0.6854 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.1648, allocations: 15.94 kB / 0.6854 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.1651, allocations: 207.6 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.54e-05/0.1652, allocations: 79.78 kB / 0.6857 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.1654, allocations: 119.4 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.1657, allocations: 358.8 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1658, allocations: 0 / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1658, allocations: 0 / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1658, allocations: 0 / 0.6861 GB, free: 10.32 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007986/0.1666, allocations: 0.5441 MB / 0.6867 GB, free: 9.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1666, allocations: 8.031 kB / 0.6867 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005771/0.1672, allocations: 80.59 kB / 0.6868 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1675, allocations: 257.8 kB / 0.687 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1675, allocations: 12.81 kB / 0.687 GB, free: 9.344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.1675, allocations: 20.38 kB / 0.687 GB, free: 9.324 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.168, allocations: 316.6 kB / 0.6873 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.168, allocations: 4 kB / 0.6873 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.1681, allocations: 4 kB / 0.6873 GB, free: 8.984 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.1681, allocations: 24.42 kB / 0.6874 GB, free: 8.961 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.1685, allocations: 209.6 kB / 0.6876 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001439/0.1699, allocations: 1.494 MB / 0.689 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.1704, allocations: 211.7 kB / 0.6892 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.29e-05/0.1705, allocations: 40.84 kB / 0.6893 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.1705, allocations: 0 / 0.6893 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1705, allocations: 38.56 kB / 0.6893 GB, free: 6.773 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.1705, allocations: 0 / 0.6893 GB, free: 6.773 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005382/0.1711, allocations: 263.3 kB / 0.6896 GB, free: 6.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.1711, allocations: 51.41 kB / 0.6896 GB, free: 6.426 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.1713, allocations: 212.3 kB / 0.6898 GB, free: 6.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1713, allocations: 25.7 kB / 0.6898 GB, free: 6.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.1714, allocations: 179.7 kB / 0.69 GB, free: 6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.1714, allocations: 27.61 kB / 0.69 GB, free: 5.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.973e-05/0.1715, allocations: 33.7 kB / 0.6901 GB, free: 5.934 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.1716, allocations: 334.8 kB / 0.6904 GB, free: 5.598 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.81e-05/0.1717, allocations: 43.97 kB / 0.6904 GB, free: 5.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.1718, allocations: 116.4 kB / 0.6905 GB, free: 5.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.1721, allocations: 168.4 kB / 0.6907 GB, free: 5.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1721, allocations: 0 / 0.6907 GB, free: 5.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004374/0.1726, allocations: 214 kB / 0.6909 GB, free: 4.996 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1726, allocations: 8.281 kB / 0.6909 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1726, allocations: 4 kB / 0.6909 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/0.1728, allocations: 28.84 kB / 0.6909 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1729, allocations: 35.86 kB / 0.691 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009739/0.1739, allocations: 1.323 MB / 0.6923 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.1741, allocations: 23.86 kB / 0.6923 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1741, allocations: 8.062 kB / 0.6923 GB, free: 3.43 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 (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.0001254/0.1742, allocations: 145.8 kB / 0.6924 GB, free: 3.277 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.1743, allocations: 27.84 kB / 0.6925 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.1743, allocations: 21.39 kB / 0.6925 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1743, allocations: 0 / 0.6925 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1743, allocations: 0 / 0.6925 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1743, allocations: 0 / 0.6925 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.1749, allocations: 487.2 kB / 0.6929 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1749, allocations: 3.938 kB / 0.6929 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.175, allocations: 11.98 kB / 0.693 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.936e-05/0.1751, allocations: 28.84 kB / 0.693 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1751, allocations: 0 / 0.693 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008676/0.176, allocations: 1.327 MB / 0.6943 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.176, allocations: 0 / 0.6943 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.1763, allocations: 228.2 kB / 0.6945 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.315e-05/0.1764, allocations: 104.8 kB / 0.6946 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1764, allocations: 96 / 0.6946 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.1766, allocations: 15.98 kB / 0.6946 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.1766, allocations: 7.938 kB / 0.6946 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1766, allocations: 7.938 kB / 0.6946 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.1767, allocations: 153.5 kB / 0.6948 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1767, allocations: 0 / 0.6948 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.1771, allocations: 55.84 kB / 0.6948 GB, free: 0.5938 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 (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.183e-05/0.1772, allocations: 99.34 kB / 0.6949 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003915/0.1776, allocations: 230.5 kB / 0.6951 GB, free: 252 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1776, allocations: 0 / 0.6951 GB, free: 252 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.1778, allocations: 158.7 kB / 0.6953 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.1782, allocations: 37.23 kB / 0.6953 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.1788, allocations: 485.2 kB / 0.6958 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1791, allocations: 0.7596 MB / 0.6965 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000108/0.1792, allocations: 29.52 kB / 0.6966 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.483e-05/0.1793, allocations: 19.38 kB / 0.6966 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of SimCode: time 3.91e-07/0.1793, allocations: 0 / 0.6966 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.004512/0.1838, allocations: 1.844 MB / 0.6984 GB, free: 12.89 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)