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.001028/0.001027, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008236/0.008236, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001859, allocations: 274 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9203/0.9203, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004124/0.0004125, allocations: 11.42 kB / 0.5987 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1561, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.003967/0.1601, allocations: 2.872 MB / 0.6879 GB, free: 12.19 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1624, allocations: 1.352 MB / 0.6893 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.1625, allocations: 4 kB / 0.6893 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1627, allocations: 39.64 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004034/0.1631, allocations: 132.8 kB / 0.6894 GB, free: 10.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.1635, allocations: 138.7 kB / 0.6896 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004562/0.164, allocations: 462.6 kB / 0.69 GB, free: 10.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.1644, allocations: 253.9 kB / 0.6902 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.1646, allocations: 107.6 kB / 0.6903 GB, free: 9.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.1649, allocations: 143.4 kB / 0.6905 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.1649, allocations: 12 kB / 0.6905 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.1652, allocations: 203.6 kB / 0.6907 GB, free: 9.355 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.1653, allocations: 71.8 kB / 0.6908 GB, free: 9.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.1655, allocations: 141 kB / 0.6909 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.1659, allocations: 346.8 kB / 0.6912 GB, free: 8.801 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1659, allocations: 4 kB / 0.6912 GB, free: 8.797 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1659, allocations: 0 / 0.6912 GB, free: 8.797 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.1659, allocations: 0 / 0.6912 GB, free: 8.797 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.0008259/0.1668, allocations: 0.4991 MB / 0.6917 GB, free: 8.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.1668, allocations: 12.03 kB / 0.6917 GB, free: 8.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000579/0.1674, allocations: 80.58 kB / 0.6918 GB, free: 8.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.1677, allocations: 253.8 kB / 0.692 GB, free: 7.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1677, allocations: 20.8 kB / 0.6921 GB, free: 7.855 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.1678, allocations: 16.38 kB / 0.6921 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.1683, allocations: 324.5 kB / 0.6924 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1683, allocations: 0 / 0.6924 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.1683, allocations: 12 kB / 0.6924 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.1684, allocations: 16.42 kB / 0.6924 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003517/0.1687, allocations: 221.5 kB / 0.6926 GB, free: 7.258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.1703, allocations: 1.502 MB / 0.6941 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.1708, allocations: 203.7 kB / 0.6943 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1709, allocations: 48.83 kB / 0.6943 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.1709, allocations: 4 kB / 0.6943 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.171, allocations: 38.5 kB / 0.6944 GB, free: 5.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.171, allocations: 0 / 0.6944 GB, free: 5.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006151/0.1716, allocations: 267.4 kB / 0.6946 GB, free: 4.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.1717, allocations: 55.41 kB / 0.6947 GB, free: 4.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1718, allocations: 208.4 kB / 0.6949 GB, free: 4.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1719, allocations: 25.7 kB / 0.6949 GB, free: 4.664 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.779e-05/0.172, allocations: 175.7 kB / 0.6951 GB, free: 4.488 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.172, allocations: 27.61 kB / 0.6951 GB, free: 4.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.172, allocations: 21.7 kB / 0.6951 GB, free: 4.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.1722, allocations: 338.6 kB / 0.6954 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.1723, allocations: 51.97 kB / 0.6955 GB, free: 4.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1724, allocations: 110.4 kB / 0.6956 GB, free: 3.906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.1726, allocations: 172.4 kB / 0.6958 GB, free: 3.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1726, allocations: 0 / 0.6958 GB, free: 3.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003644/0.173, allocations: 214.3 kB / 0.696 GB, free: 3.488 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.173, allocations: 8.062 kB / 0.696 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1731, allocations: 4 kB / 0.696 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/0.1732, allocations: 28.78 kB / 0.696 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.1734, allocations: 39.91 kB / 0.696 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000921/0.1743, allocations: 1.323 MB / 0.6973 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1744, allocations: 19.84 kB / 0.6974 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1745, allocations: 8 kB / 0.6974 GB, free: 1.922 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.0001275/0.1746, allocations: 153.9 kB / 0.6975 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.1746, allocations: 23.73 kB / 0.6975 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.1747, allocations: 21.34 kB / 0.6975 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1747, allocations: 0 / 0.6975 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1747, allocations: 0 / 0.6975 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1747, allocations: 0 / 0.6975 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.1753, allocations: 0.4951 MB / 0.698 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1753, allocations: 0 / 0.698 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.195e-05/0.1753, allocations: 8 kB / 0.698 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.641e-05/0.1754, allocations: 24.84 kB / 0.6981 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1754, allocations: 0 / 0.6981 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008702/0.1763, allocations: 1.327 MB / 0.6994 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1763, allocations: 96 / 0.6994 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.1766, allocations: 252.2 kB / 0.6996 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.1767, allocations: 100.8 kB / 0.6997 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1767, allocations: 4 kB / 0.6997 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.1769, allocations: 4 kB / 0.6997 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.1769, allocations: 7.984 kB / 0.6997 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1769, allocations: 4 kB / 0.6997 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001647/0.1771, allocations: 153.5 kB / 0.6999 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1771, allocations: 4 kB / 0.6999 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005842/0.1777, allocations: 51.84 kB / 0.6999 GB, free: 15.07 MB / 0.4981 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 0.0001335/0.1779, allocations: 100 kB / 0.7 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004223/0.1783, allocations: 238.6 kB / 0.7002 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1783, allocations: 0 / 0.7002 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.1785, allocations: 166.6 kB / 0.7004 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.1789, allocations: 29.06 kB / 0.7004 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006531/0.1796, allocations: 0.5033 MB / 0.7009 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.1799, allocations: 0.7557 MB / 0.7017 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.18, allocations: 29.52 kB / 0.7017 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.1801, allocations: 19.42 kB / 0.7017 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.1801, allocations: 0 / 0.7017 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.004762/0.1848, allocations: 1.808 MB / 0.7035 GB, free: 11.36 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)