Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 170.3 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 0.5786 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007886/0.0007886, allocations: 89.41 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.000317, allocations: 8.031 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.162, allocations: 106.3 MB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00301/0.1651, allocations: 2.882 MB / 0.9043 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1669, allocations: 1.36 MB / 0.9056 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.167, allocations: 4 kB / 0.9056 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.1672, allocations: 43.66 kB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.1676, allocations: 139.4 kB / 0.9058 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.168, allocations: 142.1 kB / 0.9059 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.1683, allocations: 458.7 kB / 0.9063 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.1686, allocations: 244.9 kB / 0.9066 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.1687, allocations: 107.6 kB / 0.9067 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.169, allocations: 151.3 kB / 0.9068 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.169, allocations: 12 kB / 0.9068 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.1693, allocations: 203.5 kB / 0.907 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.871e-05/0.1694, allocations: 79.78 kB / 0.9071 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.313e-05/0.1695, allocations: 133.1 kB / 0.9072 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.1697, allocations: 263.6 kB / 0.9075 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1697, allocations: 4 kB / 0.9075 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.1697, allocations: 0 / 0.9075 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1698, allocations: 3.938 kB / 0.9075 GB, free: 57.1 MB / 0.6042 GB 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.0006199/0.1704, allocations: 0.4991 MB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1704, allocations: 8.031 kB / 0.908 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/0.1709, allocations: 84.58 kB / 0.9081 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1712, allocations: 255.8 kB / 0.9083 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1712, allocations: 12.81 kB / 0.9083 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1712, allocations: 20.38 kB / 0.9083 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003818/0.1716, allocations: 316.6 kB / 0.9086 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1716, allocations: 7.938 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.357e-05/0.1717, allocations: 8 kB / 0.9087 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.1717, allocations: 16.44 kB / 0.9087 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.172, allocations: 217.5 kB / 0.9089 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.1732, allocations: 1.494 MB / 0.9103 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003506/0.1735, allocations: 219.7 kB / 0.9106 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.1736, allocations: 44.84 kB / 0.9106 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.1736, allocations: 7.922 kB / 0.9106 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.1737, allocations: 38.56 kB / 0.9106 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.1737, allocations: 4 kB / 0.9106 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0004791/0.1742, allocations: 259.4 kB / 0.9109 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.1742, allocations: 51.41 kB / 0.9109 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.1743, allocations: 212.4 kB / 0.9111 GB, free: 53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.1744, allocations: 25.7 kB / 0.9112 GB, free: 52.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.1744, allocations: 179.6 kB / 0.9113 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.1745, allocations: 39.56 kB / 0.9114 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.106e-06/0.1745, allocations: 0 / 0.9114 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.534e-05/0.1745, allocations: 330.8 kB / 0.9117 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.1746, allocations: 43.97 kB / 0.9117 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1747, allocations: 114.2 kB / 0.9118 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.1749, allocations: 172.4 kB / 0.912 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.175, allocations: 8 kB / 0.912 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003034/0.1753, allocations: 210 kB / 0.9122 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1753, allocations: 8 kB / 0.9122 GB, free: 51.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1753, allocations: 3.938 kB / 0.9122 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/0.1755, allocations: 37.11 kB / 0.9123 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.1756, allocations: 35.92 kB / 0.9123 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007144/0.1763, allocations: 1.323 MB / 0.9136 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1765, allocations: 15.84 kB / 0.9136 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1765, allocations: 8 kB / 0.9136 GB, free: 50.25 MB / 0.6042 GB 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.0001021/0.1766, allocations: 150.3 kB / 0.9138 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.1766, allocations: 19.75 kB / 0.9138 GB, free: 50.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.1767, allocations: 25.5 kB / 0.9138 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1767, allocations: 0 / 0.9138 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1767, allocations: 0 / 0.9138 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1767, allocations: 3.984 kB / 0.9138 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.1772, allocations: 495.1 kB / 0.9143 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1772, allocations: 0 / 0.9143 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.354e-05/0.1772, allocations: 12 kB / 0.9143 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.097e-05/0.1773, allocations: 28.83 kB / 0.9143 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1773, allocations: 4 kB / 0.9143 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000589/0.1779, allocations: 1.327 MB / 0.9156 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1779, allocations: 0 / 0.9156 GB, free: 48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1782, allocations: 236.2 kB / 0.9158 GB, free: 47.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.1782, allocations: 104.8 kB / 0.9159 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.1783, allocations: 4 kB / 0.9159 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1784, allocations: 8 kB / 0.9159 GB, free: 47.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1784, allocations: 7.984 kB / 0.916 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.1785, allocations: 0 / 0.916 GB, free: 47.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.637e-05/0.1785, allocations: 145.5 kB / 0.9161 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.31e-07/0.1786, allocations: 0 / 0.9161 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003146/0.1789, allocations: 63.88 kB / 0.9162 GB, free: 47.41 MB / 0.6042 GB 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 8.662e-05/0.179, allocations: 107.2 kB / 0.9163 GB, free: 47.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003692/0.1793, allocations: 231 kB / 0.9165 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1794, allocations: 4.125 kB / 0.9165 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1795, allocations: 162.6 kB / 0.9166 GB, free: 46.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1799, allocations: 36.67 kB / 0.9167 GB, free: 46.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.1805, allocations: 0.5282 MB / 0.9172 GB, free: 46.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.1806, allocations: 0.7593 MB / 0.9179 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.1807, allocations: 19.42 kB / 0.9179 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.1807, allocations: 0 / 0.9179 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.003908/0.1846, allocations: 3.197 MB / 0.9211 GB, free: 42.29 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1)