Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001333/0.001333, allocations: 195.1 kB / 16.26 MB, free: 6.621 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.31/1.31, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 294.5 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 89.89 kB / 0.5947 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1513, allocations: 86.98 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003381/0.1547, allocations: 2.467 MB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1566, allocations: 1.404 MB / 0.6834 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.1567, allocations: 3.938 kB / 0.6834 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006011/0.1573, allocations: 163.5 kB / 0.6836 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002652/0.1576, allocations: 125.2 kB / 0.6837 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.158, allocations: 173.9 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.1582, allocations: 212.2 kB / 0.6841 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.1585, allocations: 143.9 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.1587, allocations: 91.62 kB / 0.6843 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1589, allocations: 107.6 kB / 0.6844 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1589, allocations: 12 kB / 0.6844 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002462/0.1591, allocations: 183.7 kB / 0.6846 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.1592, allocations: 71.73 kB / 0.6846 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.1593, allocations: 71.61 kB / 0.6847 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.1596, allocations: 295.1 kB / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1596, allocations: 0 / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1596, allocations: 0 / 0.685 GB, free: 11.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1596, allocations: 3.938 kB / 0.685 GB, free: 11.54 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006067/0.1603, allocations: 475.2 kB / 0.6855 GB, free: 11.03 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.1603, allocations: 8.031 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.1608, allocations: 68.61 kB / 0.6855 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.161, allocations: 228 kB / 0.6857 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.161, allocations: 12.66 kB / 0.6858 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1611, allocations: 12.38 kB / 0.6858 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.1615, allocations: 292.2 kB / 0.686 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1615, allocations: 0 / 0.686 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.1615, allocations: 8 kB / 0.6861 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.1616, allocations: 12.23 kB / 0.6861 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003024/0.1619, allocations: 212.4 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1634, allocations: 1.572 MB / 0.6878 GB, free: 8.414 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.1638, allocations: 327.2 kB / 0.6881 GB, free: 8.039 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.1639, allocations: 65.67 kB / 0.6882 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.1639, allocations: 0 / 0.6882 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.164, allocations: 34.56 kB / 0.6882 GB, free: 7.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.164, allocations: 0 / 0.6882 GB, free: 7.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004908/0.1645, allocations: 244.5 kB / 0.6884 GB, free: 7.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.1645, allocations: 85.3 kB / 0.6885 GB, free: 7.578 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1647, allocations: 200.8 kB / 0.6887 GB, free: 7.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.1647, allocations: 29.7 kB / 0.6887 GB, free: 7.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.1648, allocations: 159.8 kB / 0.6889 GB, free: 7.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1648, allocations: 31.55 kB / 0.6889 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.1649, allocations: 53.61 kB / 0.689 GB, free: 7.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.165, allocations: 322.8 kB / 0.6893 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1652, allocations: 80.81 kB / 0.6894 GB, free: 6.684 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.1653, allocations: 149.1 kB / 0.6895 GB, free: 6.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.1656, allocations: 238.9 kB / 0.6897 GB, free: 6.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1656, allocations: 0 / 0.6897 GB, free: 6.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003773/0.166, allocations: 257.4 kB / 0.69 GB, free: 5.969 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.166, allocations: 8 kB / 0.69 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.166, allocations: 7.984 kB / 0.69 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.166, allocations: 7.938 kB / 0.69 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1663, allocations: 47.91 kB / 0.69 GB, free: 5.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1663, allocations: 4 kB / 0.6901 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1664, allocations: 23.86 kB / 0.6901 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.1665, allocations: 12 kB / 0.6901 GB, free: 5.859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00015/0.1666, allocations: 160.1 kB / 0.6902 GB, free: 5.699 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001301/0.1668, allocations: 155.5 kB / 0.6904 GB, free: 5.508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002197/0.167, allocations: 215.8 kB / 0.6906 GB, free: 5.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.725e-06/0.167, allocations: 4 kB / 0.6906 GB, free: 5.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000331/0.1673, allocations: 233.5 kB / 0.6908 GB, free: 5.016 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.1674, allocations: 8 kB / 0.6908 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1674, allocations: 4 kB / 0.6908 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.99e-06/0.1674, allocations: 4 kB / 0.6908 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.1675, allocations: 47.91 kB / 0.6909 GB, free: 4.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.1676, allocations: 15.81 kB / 0.6909 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1677, allocations: 15.98 kB / 0.6909 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.1677, allocations: 12 kB / 0.6909 GB, free: 4.91 MB / 494.1 MB 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.1678, allocations: 196.2 kB / 0.6911 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.1679, allocations: 15.81 kB / 0.6911 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.1681, allocations: 143 kB / 0.6913 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.1681, allocations: 3.938 kB / 0.6913 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1681, allocations: 128 / 0.6913 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1681, allocations: 0 / 0.6913 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000846/0.169, allocations: 0.7274 MB / 0.692 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.169, allocations: 4 kB / 0.692 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1691, allocations: 19.98 kB / 0.692 GB, free: 3.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1691, allocations: 4 kB / 0.692 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1691, allocations: 4.344 kB / 0.692 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1691, allocations: 8.547 kB / 0.692 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1692, allocations: 7.938 kB / 0.692 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002836/0.1694, allocations: 378.2 kB / 0.6924 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.966e-05/0.1695, allocations: 112.8 kB / 0.6925 GB, free: 3.145 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1696, allocations: 4 kB / 0.6925 GB, free: 3.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.1697, allocations: 15.98 kB / 0.6925 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.307e-05/0.1698, allocations: 11.94 kB / 0.6925 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.1698, allocations: 8 kB / 0.6925 GB, free: 3.105 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.1699, allocations: 148.3 kB / 0.6927 GB, free: 2.961 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1699, allocations: 4 kB / 0.6927 GB, free: 2.957 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004771/0.1704, allocations: 64 kB / 0.6927 GB, free: 2.895 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.1705, allocations: 111.2 kB / 0.6928 GB, free: 2.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.1709, allocations: 263.5 kB / 0.6931 GB, free: 2.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1709, allocations: 5.5 kB / 0.6931 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.171, allocations: 56.53 kB / 0.6931 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004485/0.1715, allocations: 44.78 kB / 0.6932 GB, free: 2.422 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.1721, allocations: 486.7 kB / 0.6937 GB, free: 1.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.1724, allocations: 0.7363 MB / 0.6944 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1726, allocations: 69.47 kB / 0.6944 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.1727, allocations: 19.44 kB / 0.6945 GB, free: 1.039 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1727, allocations: 0 / 0.6945 GB, free: 1.039 MB / 494.1 MB Notification: Performance of Templates: time 0.00414/0.1768, allocations: 1.747 MB / 0.6962 GB, free: 15.3 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)